• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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)?
 
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic