Ruby on Rails XML
I'm looking to create a Rails application which generates XML instead of HTML. How do I do this? ...
I'm looking to create a Rails application which generates XML instead of HTML. How do I do this? ...
I am currently working on a project which requires me to use an XML document to render a form on an Android device. The form must be fetched and displayed at run-time. I am wondering if there is a way to tag the form XML, transform it using XSLT into an Android layout XML, and then have the device render it. ...
I have a use case where I am serializing objects over the wire via MSMQ (mostly strings). When I read the object off the queue I want to be able to tell if the user meant for the object to be a XML or a string. I was thinking a good way to do this would just be to check the type. If it's XmlElement than it becomes XML data otherwise it...
Hi all, I have a simple XElement object XElement xml = new XElement("XML", new XElement ("TOKEN",Session["Token"]), new XElement("ALL_INCLUSIVE", "0"), new XElement("BEACH", "0"), new XElement("DEST_DEP", ddlDest.SelectedVa...
I need to use various words but it seems that Android plays nanny and says that they are misspelled in XML. <string name="oiseau">oiseau</string> How do I override this function? TIA. ...
When is XSLT an appropriate solution for defining XML transforms instead of using a scripting language like Python? ...
I have an loaded an XML document with the following structure: <?xml version="1.0" encoding="UTF-8" ?> <worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"> <sheetData> <row r="1" spans="1:2"> <c r="A1" t="s"> <v>...
If I have the following XML in actionscript 3: <xml> <element1 x="10" y="10" width="200" height="200"> <child>text</child> <child x="0" y="0" width="100" height="100"> content </child> </element1> <element2 x="10" y="10" width="200" height="200"> </element2> <element3> </element3> </xml...
My current project got 2 modules ModuleA and ModuleB, inside ModuleA and ModuleB got a class call 'Student' (same class name same attributes, but for some purpose ModuleA must call ModuleB to do the actual task) . They communicate to each other through Web Services. Now I want ModuleA WS will call ModuleB proxy to do the actual task. I...
Hello, i have a xml structure of the following form to be parsed using PHP simplexml. <books> <book> <title>XYZ</title> <author> someone </author> <images> <image type="poster" url="<url>" size="cover" id="12345"/> <image type="poster" url="<url>" size="thumb" id="12345"/> </images> </book> <book> <title>PQR</title> <author> someonee...
Hello, i have a xml structure of the following form to be parsed using PHP simplexml. <books> <book> <title>XYZ</title> <author> someone </author> <images> <image type="poster" url="<url>" size="cover" id="12345"/> <image type="poster" url="<url>" size="thumb" id="12345"/> </images> </book> <book> <title>PQR</title> <author> someonee...
I am trying to create a WSDL for a pre-existing web service. I have an existing client and and existing server, and I've captured the format both use using Wireshark. I am trying to write a new client that uses the same format. Therefore I am trying to match the format as closely as possible, be it correct or not. I'm cooking up a WSDL f...
Hi All, I am trying to parse an XML file whcih contains some special characters like "&" using DOM parser. I am getting the saxparse exception "the reference to entity must end with a a delimiter". Is there any way to overcome this exception, since I can not modify the XML file to remove the special characters, since it is coming from d...
Hi, I am executing the following. Given an XDocument doc; doc.XPathEvaluate("//namespace-uri()"); I get the error '//namespace-uri()' has an invalid token. It seems to work in a node test, for example "//*[namespace-uri()='xyz']". The function should work though, XMLSPY is happy with the above version, and I believe it uses the same...
Is there a special XML element for name/value property pairs like the following, something that I can leverage in C# code? <Properties> <Property> <Name>xyz</Name> <Value>abc</Value> </Property> </Properties> ...
There are dashes in attributes of an xml, and I don't know how to filter them: Here you can see a simple example of the xml: <posts> <post> <photo-url max-width="1280">http://blabla.tumblr.com/photo/98</photo-url> </post> </posts> Because also the photo-url-tag has a dash, I needed to parse it with …child("photo-url"). T...
Hi Guys I need to display a xml feed with xslt, the xml feed requires authentication is this possible? How would I get the xml feed into the xslt? ...
I have got some library files in PHP. i want to use them in asp.net. please give me some idea that how to use it or how to convert it to be used in asp.net (vb.net). actually i want to connect with a xml based web service (HostelsClub) but they just have API in PHP not in asp.net. so what to do. ...
Hello I have an c# class that I would like to serialize using XMLSerializer. But I would like to have it serialized to a XMLElement or XMLDocument, is this possible or do I have to serialize it to a String and then parse the string back to a XMLDocument? ...
Question: We've started a project for a customer, which includes what would normally be done with a database. However, the customer wants no database installed, since it's only a little application. We however intend to reuse the code for a larger project, which will use a database. The problem is all the server side code will be diffe...