|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] white space
Hello, Everyone: I use SUN's parser to parser a XML document based on DOM. But due to white space and "\n" in document, I can not parser it. Once remove all white space and "\n", it is success. I try to use builder.ignoringWhiteSpace(true);, but it still does work. For example, the Node has only one child, but when I use hetChildNodes(), it will return 3 child nodes. I print the node name, the first one is "#text". Where it is come from? Does anybody know how to handle this problem? Thanks you very much. Boxin Dai Software Designer Saraide.com 3026 Solandt Road Kanata,Ontario K2K 2A5 Tel: (613) 270-5452 Fax: (613) 270-5411 email: boxin.dai@s... web: www.saraide.com xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1 Unsubscribe by posting to majordom@i... the message unsubscribe xml-dev (or) unsubscribe xml-dev your-subscribed-email@your-subscribed-address Please note: New list subscriptions now closed in preparation for transfer to OASIS.
|
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








