Questions tagged [xmlreader]

xmlreader - Represents a reader that provides fast, noncached, forward-only access to XML data.

Represents a reader that provides fast, noncached, forward-only access to XML data.

More

1120 questions
0
votes
3 answers

Skip children in XmlReader C#

I have the following XML
Zero
  • 118
  • 3
  • 14
0
votes
2 answers

using xmlreader to read xml in xmldocument

I am develop win8 metro app and I need to load xml file to present on app. But I got a problem after loading xml files located in folders. I know I can use xmlreader to read a xml file in app itself, but I don't know how to load a file in "My…
Bency
  • 21
  • 1
  • 1
  • 4
0
votes
1 answer

read only particular instance using xmlreader

I have a xml file that looks like AAA 23 A B C <\I1> AA BB CC I am…
Raghul Raman
  • 169
  • 1
  • 5
  • 18
0
votes
2 answers

How to Avoid html tags in an XML document

I have an XML document, the format of which looks something like below; Using the…
user1681514
  • 97
  • 5
  • 13
0
votes
2 answers

using xmlReader

i am trying to read an xml string and then modify it by inserting another xml string, i dont know how to do this, i was struggling since i am a beginner in this area. i search the net and i was really confussing between xmlWriter and xmlReader cuz i…
Noora
  • 319
  • 3
  • 10
  • 26
0
votes
0 answers

hyphen and underscore in path xmlreader not moving to next

i have a problem with this script, problem being i assume it the hyphen in the node names it throwing the xmlreader out i have to use xml reader instead of simplexml as the file is 1gb and our server is only 1gb, anyway this is the xml:
dom
  • 254
  • 1
  • 4
  • 18
0
votes
0 answers

read xml file using springsource springmvc

I am trying to read a xml file and parse it using Spring MVC, but for some reason it's not finding the file path. I tried different folder, even root, but still cant read or find the file in my project. I'm also using a bean and its not working…
0
votes
2 answers

Mono error reading valid XML: "Read by order only possible for encoded/bare format"

When reading this valid XML with Mono's System.Xml.XmlReader I get the following error: System.InvalidOperationException: Read by order only possible for encoded/bare format at System.Xml.Serialization.ClassMap.GetElement (Int32 index) [0x00000]…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
0
votes
2 answers

retrieve main records/items tag names from xml file

I am new to xml parsing and xpath. I need to make a parser that can find records tag names. For example, if given this xml : first item first item…
elam
  • 1
  • 1
0
votes
1 answer

Iterating through xmltextreader

I have a xml in the following format. AAA
Geek
  • 3,187
  • 15
  • 70
  • 115
0
votes
1 answer

xmlreader traversing nodes

I have an xml file as follows, AAA BBB
Geek
  • 3,187
  • 15
  • 70
  • 115
0
votes
1 answer

How to use the moveToAttribute method from PHP's XMLReader class?

I'm having an issue with the moveToAttribute method from PHP's XMLReader class. I don't want to read in each line of the XML file. I want to have the capability to traverse the XML file, without going in sequential order; that is, random access. I…
user717236
  • 4,959
  • 19
  • 66
  • 102
0
votes
1 answer

XML serialization and dataset.XMLReader with same XML file possible?

I have a timer application that I am working on that uses two separate XML files to store data. XML File 1 stores summary data for the time allotted and the name of the game. XML File 2 stores the contents of a dataset which is more of a narrative…
Pierce
  • 143
  • 10
0
votes
1 answer

How to remove duplicate namespace attributes from nodes in xml?

I have two huge 1 gb xml files.both has same structure.I am trying to merge them. script use xmltextreader and xmltextwriter.it works fine except it duplicating namespace to multiple nodes. I read so many blogs and documents but couln't find proper…
0
votes
1 answer

Xml class that can have a child class that is exactly the same

I need to parse this xml document (portion only): a aa b bb