|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to ignore whitespaces during parsing?
Sorry, question is out of scope, but ... I am trying to parse XML into DOM tree using Sun's parser (X Project parser pre-release 2). The problem is that it seems to be not able to ignore whitespaces such as tabulations and CR-LFs. That results in creating a lot of unnecessary text nodes. The same problem appear if I write document to stream using CR-LFs for formatting and then read it back I've got text nodes what were absent in the original document. Is anyone has experienced the same problems? Do I need to specify some encoding or somehow specify to the parser what characters to ignore? Thanks. Sasha aleks@xxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








