• 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

is the DOM representation right???

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
i have a xml of the form: (a part of the XML file is as follows

i have downloaded the Xerces parser for parsing the above file and the
DOM code i am developed for parsing is as follows:

now the parser shows a lot of errors after parsing. i want to
know if the above code is correct? the problem i have is that my XML does not contain simple data values as elements (which i feel can be easily parsed). instead it contains entire file paths as elements and this is the reason i am forced to post this question on this forum.
the above XML file has the entire file path of jpeg images(the user
can select a jpg image from a HTML form etc).
thanks in advance.
Edit: I added UBB CODE blocks in there to help readability
[ March 25, 2004: Message edited by: Lasse Koskela ]
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you getting compilation errors (or did you just make some typos in the code snippet you posted)?
 
Well THAT's new! Comfort me, reliable tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic