This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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

 
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what the hell was i thinking when posted this ...

Thanks William....
 
reply
    Bookmark Topic Watch Topic
  • New Topic