Hello all,
Sorry if this has been brought up before, but
is there a way to tell the parser to strip out or
ignore extraneous tabs and spaces.
The problem I'm having is parsing the following text:
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v3.5 NT (http://www.xmlspy.com) by Julia Larson
(NativeMinds) -->
<!DOCTYPE NSAPI SYSTEM "NSAPI.dtd">
<NSAPI>
<Domain DomainID="0"/>
<Domain DomainID="1"/>
</NSAPI>
When this is parsed by Xerces, it tells me that
there is one node NSAPI and that is has only one
child. The child's name is "#text" and its content
is a tab.
Why isn't it telling me about the other children?
If I send it the following text instead:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE NSAPI SYSTEM
"NSAPI.dtd"><NSAPI><Domain DomainID="0"/><Domain DomainID="1"/></NSAPI>
It works as expected.
Help!
Thank you
-Julie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]