white space

Boxin Dai Boxin.Dai at SARAIDE.COM
Fri Jan 28 15:45:28 GMT 2000

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
3026 Solandt Road
Kanata,Ontario K2K 2A5
Tel:   (613) 270-5452
Fax:   (613) 270-5411
email: boxin.dai at saraide.com
web:   www.saraide.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom at ic.ac.uk the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email at your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.

More information about the Xml-dev mailing list