[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to ignore whitespaces during parsing?

Subject: How to ignore whitespaces during parsing?
From: "Aleksandrs Jakovlevs" <Aleksandrs_Jakovlevs@xxxxxxxx>
Date: Wed, 10 May 2000 12:14:55 +0200
xml ignore whitespaces

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.