• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

parsing using Xerces

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i need ur help regarding Xerces parser.
i have an XML file given below:
<selection>
<ele id="1">C:\My Documents\abc.jpg</ele>
<ele id="1">C:\My Documents\abc.jpg</ele>
<data id="1">C:\My Documents\dat1.txt</data>
<data id="2">C:\My Documents\dat2.txt</data>
</selection>

now using a HTML form, the user selects "abc.jpg" and "dat1.txt"
now i want to modify this XML file so that a new XML file is generated
that contains only these two files that the user has selected.
in one of the forums here, someone suggested to me to use Xerces for parsing. i am really finding it difficult to proceed. can u give me some sort of pseudo-code (in Xerces) that will help me to get started.
i tried searching the web but was futile. thanks in advance
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic