0
votes
1answer
22 views

Mapping XML to Unrelated Objects

I'm designing a process to get XML files from our client and load them to our database, creating an order on our side. The snag is, and isn't there always one?, the client's XML really doesn't ...
0
votes
2answers
67 views

How do I 'decorate' a complex C# class to properly deserialize from a rest endpoint?

When using a rest endpoint, I can test it with RestClient and get well-formed XML back. I can copy and paste the XML into a POCO using VS2012's 'Paste XML as Classes' feature. Then I try to use Web ...
0
votes
0answers
25 views

is JAXB compatible with android?

I am trying to create an android app but in order to complete it I need to be able to read an XML file that will be hardcoded in the system. An example of the xml can as the example that follows. The ...
0
votes
1answer
91 views

deserialize xml attribute and handle newline and other special characters

I've tried finding the answer to this for the last 2 days and I just can't find anything that will work with our code. We have an incoming xml response formatted as below and need to be able to ...
1
vote
1answer
62 views

XStream(new StaxDriver()) without XML declaration

My program JAVA: public static String toXml() { KtpMessage ktpMessage =new KtpMessage(); ktpMessage.setdetails("test"); XStream xstream = new XStream(new StaxDriver()); String objectXml = ...
0
votes
1answer
80 views

php Dynmically format xml to php array [closed]

Hi I was wondering if anyone knows a script or function that can format any xml file to a array in a specific format such as having a xml something like this (but much longer) <data> ...
0
votes
1answer
28 views

simplexml_load_file how to get the value a specific set of keys

Hello so this is the php I have: if (file_exists('movies.xml')) { $xml = simplexml_load_file('movies.xml'); print $xml->key['Movie']; } here is what movies.xml looks like: <?xml ...
2
votes
1answer
59 views

get xml node value

The xml below has a attribute Itemcount(<rs:data ItemCount="4">) . how do i get the value of that via code. xmldocument.childnodes.count does not give me a correct count I need to get the ...
0
votes
1answer
27 views

PHP Advanced XML add to item node

I want to add a node in the below given XML, I want to add an item in data node as shown below, with the item id incrementing, I want to do this using PHP <?xml version="1.0" encoding="utf-8"?> ...
0
votes
2answers
129 views

How to read an existing xml file from sdcard and add new data into it [closed]

I just want to read xml file from the sdcard and want to add some new data into it. Then I have to write it into sdcard. How can I implement it. Any help will be highly appreciated.
0
votes
2answers
47 views

how to Convert a var to xml content using jquery

I am currently working with Jquery and my entire project needs to be done only using sharepoint Client Object Model (so i cant make use of server side coding). I have created a xml structure (by ...
0
votes
2answers
63 views

Trouble Parsing XML

I am having some trouble parsing some XML from centovacast v3 XML API. I've worked with their 2.x API and parsed it, but the responses have totally changed and I cannot seem to make any of my existing ...
0
votes
0answers
37 views

how to format XML [duplicate]

I have a xml in a string, so can I make a file with this string (beginning with <?xml version="1.0" encoding="UTF-8"?>), without dealing of the spaces, line break and so on, or do I have to make ...
0
votes
1answer
35 views

trying to iterate over an xml file to match a result from an xml file used to log in

I have two xml files and thanks to Lawrance I am able to parse the xml details of loged in user to admin_panel now I am trying to iterate over a second xml file that only share unique_ref as a ...
2
votes
2answers
762 views

Generic XML Deserialization into Undefined Objects

I have a very long, very varied XML file that I am attempting to store portions of into a database. Now, I do not want to go through and hand-write 10,000 different objects to store the deserialized ...

1 2 3 4 5 6
15 30 50 per page