Questions tagged [xml-parsing]

An XML parser goes through text documents containing XML trees and allows the information in the hierarchy to be used. Use this tag for problems implementing an XML parser or generated by the use of an existing parser in a given language.

An XML parser goes through text documents containing XML trees and allows the information in the hierarchy to be used. Use this tag for problems implementing an XML parser or generated by the use of an existing parser in a given language.

An XML parser converts an XML document into an XML DOM object - which can then be manipulated with JavaScript. All modern browsers have a built-in XML parser.

The XML document specification places requirements on what an XML processor must do and not do, but the application is outside its scope. The processor (as the specification calls it) is often referred to colloquially as an XML parser.

13856 questions
2
votes
1 answer

nsxml parser issue

I am quite fine with iPhone and have done this before but can't figure it out right now. I am using the XMLParser and getting a response as shown below: username = { text = akhildas; type = string; }; Instead what I…
Guru
  • 4,693
  • 3
  • 25
  • 45
2
votes
3 answers

How to get the Attribute name of a XML Node - GDataXMLNode

How to get the Attribute name of a XML Node in GDataXMLNode. I'll need get "anyAttribute" and "anyAttribute2" from this... There is a method for that or should i try other option?
2
votes
1 answer

Extracting embedded XML from another XML String in blackberry and decoding xml in blackberry

i am working with xml in blackberry. i am currently working with a xml string, where, one of the values, is another xml string. the problem is that , while the other values are being extracted neatly, the xml value is not. only the "<" is being…
s5v
  • 495
  • 5
  • 20
2
votes
4 answers
2
votes
1 answer

DataSet.DataTable.DataRow (Single) to XML String

I have strongly-typed datasets in the project that I am currently working on and I need to convert a DataRow object from the DataSet (only 1 DataTable in the DataSet) to an XML string. I attempted the following with only utter failure: string…
clockwiseq
  • 4,189
  • 9
  • 38
  • 61
2
votes
2 answers

Xcode Objective-C simple array in array

Iam new in Objective-C I have integrated one Array in another Array, it works My Question: I have often use Row *row = [[Row alloc] init];, but I think its not right to use too often this code. Please look at my code there you find 3 times the…
user1175380
  • 87
  • 2
  • 10
2
votes
2 answers

How to foreach multiple SimpleXML using PHP

I am using Last.fm get event by venue API call. It returns an XML with multiple objects print_r($xml) This is the result SimpleXMLElement Object ( [events] => SimpleXMLElement Object ( [event] => Array ( …
Serjas
  • 2,184
  • 4
  • 21
  • 35
2
votes
1 answer

Incompatible Type when using web service

I have to use a web service which returns a string as result, it gets some string parameters too, so all things i have done is as this: 1- I have added that service reference to my project. 2- I have created an instance of that service class 3- I…
m-abdi
  • 540
  • 1
  • 7
  • 30
2
votes
2 answers

How to find node using NativeXml : Delphi

i'm trying to use NativeXml, yes its more simple than xmldocument, but i still cannot find a solution to find node that have multiple name.. Manggo Salad Good Excelent Nice…
ujang kelabu
  • 151
  • 3
  • 13
2
votes
1 answer

How can I parse a config file using XML::Simple?

Perl snippet: my $xml = new XML::Simple( KeyAttr=>{ property => 'propertyname', }, ForceArray => 1, ContentKey => '-content'); my $config = $xml->XMLin($configFile); Configfile looks like:
xyz
  • 8,607
  • 16
  • 66
  • 90
2
votes
1 answer

How to parse an SOAP response with internal references using XPath in Java

I'll want to parse an SOAP Message with XPath but in the XML Response are internal references. XPath does not resolve these. Is it possible to automatical resolve references before using XPath so that i could use xpath expressions like…
Cake42
  • 105
  • 5
2
votes
1 answer

DOM parse xml file without converting entity references

I am writing a parser for an xml file which will contains special characters, for example You & me ® The dom parser will, by default, parse this value to "You & me ®". However what I want the string is You & me ® Is…
jasonfungsing
  • 1,625
  • 8
  • 22
  • 34
2
votes
4 answers

Android xml parsing with same element name in android?

i want to parse xml file i have xml like this 1 "Some data1" "Some data2" "Some data3" 2 "Some data1" "Some…
user1134100
2
votes
3 answers

How to parse xml file on android

Does android has some dom/sax parsers? E.g. of xml file: My file is more complex but i this was a simple example. Does android have some dom/sax parser?
user93796
  • 18,749
  • 31
  • 94
  • 150
2
votes
1 answer

How to iterate over XML elements which can have optional attributes?

I try to iterate over a XML file to fetch all elements of a specific type . This type can also have attributes which are optional. XML Sample: Description
DaHanz
  • 31
  • 1
  • 5