This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

XML Parser which can parse any content inside XML and custom tags

 
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I started using SAX java parser to parse the xml however the problem is i am not getting the right content e.g. <form> tag is getting lost or sometimes only ' char is coming from "isn't"

I open to use 3rd party lib as far as it can give the desired results. Should also be able to parse custom tag.

Also if somebody has used rssutils.jar do you know how to to get customs tags from it?

e.g. if one has <item><a:author>A</a:author></item> how to get it from rssutils.jar

 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. The standard Java library is all you need to parse and manipulate XML.
2. Custom tags, no problem - "eXtensible Markup Language" remember!
3. Missing SAX content suggests your characters() method is a problem. See any number of similar problems in the XML forum history.

Bill

 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what the hell was i thinking when posted this ...

Thanks William....
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic