Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Parsing - Ignore New line character

 
nomad shankar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
when I parse an XML using Dom parser , I want to igonre new line characters present in it ..can any one help me
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML parsers don't do content filtering. That's something you would have to do after the parsing is finished. If you were using a SAX or StAX parser instead of DOM, this kind of thing would be easier to implement because you have more control over the parsing process.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic