Web Service - XML post - Element Order
We built a web service using the REST Starter Kit. It appears that the elements in an XML post need to be submitted in alphabetical order. What options are there to enable the elements to be any order? ...
We built a web service using the REST Starter Kit. It appears that the elements in an XML post need to be submitted in alphabetical order. What options are there to enable the elements to be any order? ...
I saw on a website, a guy had returned his database table information as an html table. It was pretty neat. His code is as follows: select 2 [@cellpadding] ,2 [@cellspacing] ,1 [@border] --This returns the header ,(select th from (select 'Database Table' th union all selec...
I'm trying to display an image above and below a grid. This is the initial screen with Logo on top, 4 buttons as a grid view then image on the bottom. With my current code the bottom image is not displaying at all. Also I would like to stick the bottom image "bottomboxes" to the bottom of the display. <ImageView android:layout_height...
Is there a way to define a 9 patch drawable in an android xml file? The reason I ask, is that when you apply a scale animation to a drawable w/ a stroke on it, the stroke appears to thicken. I'd like to make the stroke stay the same size as the animation plays... ...
The project: Imagine a card collector wants to create a database for all his card collections , they collect every type of trading card available. Each trading card has a different set of information (stats) depending on it's type but there could be an infinite number of categories of trading cards. So my questions is, is it better to cr...
Hello, I'm using XSLT to manipulate the data inside of an XML file (I'm taking the guts of one XML file and putting them into a new shell in another XML file). I'm only using some of the data in the first file, and the data from the parts that I don't use is being concatenated to the end of the new file. How do I keep XSLT from doing th...
I need to take user input from a web page and write it to a word document. Im using a wysywyg editor that allows bullet points with the output being a html list. I need to then convert that to Word XML. Any suggestions? I have the syntax/structure for the XML bullet lists but I need to convert the html list to the xml bullet point li...
In my Oracle db I have records like this one: <ROOT> <Event> <Type>sldkfvjhkljh</Type> <ID>591252</ID> </Event> <Data> <File> <Name>1418688.pdf</Name> <URL>/591252/1418688.pdf</URL> </File> <File> <Name>1418688.xml</Name> <URL>/591252/1418688.xml</URL> </File> </Data> </ROOT> I n...
This is my Xml File <?xml version="1.0" encoding="utf-8" ?> <root> <Child title="title1" > <grandChild>A</grandChild> <grandChild>B</grandChild> <grandChild>C</grandChild> <grandChild>D</grandChild> </Child> <Child title="title2" > <grandChild>E</grandChild> <grandChild>F</grandChild> ...
Hi all, I am learning xml, Can anybody please help me in providing the xml text attributes using which I can manipulate the xml file. ...
I am using XOM to build XML documents in Java. I have created a simple XML document, and I want an XML namespace. But when I set the namespace on the first tag, an empty namespace is set on the childs like xmlns="", how can I get rid of this behaviour? I only want xmlns on the first tag. I want this XML: <request xmlns="http://my-name...
I know how to use NSURLConnection to communicate with WSDL with BasicHTTPBinding but when I try same code with WSHTTPBinding I get message "BadContexttoken" from the server. So I wanted to know whether we can prepare a framework on iPhone which can support WSHttpBinding also? ...
Hi I'm using a class to parse my XML. I have to parse request XML and response XML, and I'd like to do it with the same parser. When I parse the response XML, I keep getting junk after document element error. I narrowed my XML down to <?xml version="1.0" encoding="UTF-8" ?><check></check> and I'm still getting the error, so the only th...
Does it exist a Microsoft tool or a sql query for import/export XML data into SQL Server Compact Edition ? Like this for SQL Server : http://msdn.microsoft.com/en-us/library/ms191184.aspx#binary_byte_stream ...
Hi I have an XML file where some sub tags (child node elements) are optional. e.g. <part> <note> </rest> </note> <note> <pitch></pitch> </note> <note> <pitch></pitch> </note> </part> But when I read the XML files by tags, it throws a NullPointerException - since some sub-tags are optional (e.g...
I am trying to parse the following XML file in Java and to store the XTimeStamp variable in an ArrayList and YVoltage in another ArrayList: <?xml version = "1.0"?> <Data> <reading> <XTimeStamp> 12:00:00:01</XTimeStamp> <YVoltage> 0.6</YVoltage> </reading> <reading> <XTimeStamp> 12:00:00:02</XTimeStamp> <YVoltage> 0....
Is there a tool to generate an XSD schema from SQL Server database ? This XSD would be used for importing XML data into database with BULK INSERT or bcp ...
Hi, The JSON script serializer (from mvc) can serialize an anonymous class to script. Are there some standard framework (or mvc) classes that can transform an anonymous class to xml? Currently anonymous classes are not marked as serializable and cannot be converted to xml. Is there a way to do this without writing reams of code? Chee...
Hello. I'm trying to figure out how to get the value between two tags of an XML text that is being parsed in objective c. For example, if you have: <tag>thetext</tag> I want to be able to get thetext This seems impossible with the NSXMLParser class or its delegate. Any help would be appreciated. Thanks! ...
Hello, There is next xml file: <element Name="root"> <SubFields> <element Name="subroot"> <SubFields> <element1 Name="element1" customatt1 = "12313" customatt2 = "asdfasfadsfasd"> <subelement Name="subelement" /> </element1> <element1 Name="elem...