Stripping leading and trailing spaces???

Dan Finkelstein danf at yipinet.com
Tue Feb 2 19:34:50 GMT 1999


It seems that leading and trailing spaces are being removed from PCDATA
before it is returned to me.  For example,

	<text>  Hello there!  </text

comes back as "Hello there!" instead of "  Hello there!  ".  I'm using Sun's
early release parser, and I'm wondering if this is standard XML behavior? if
there is a way to preverse the spaces?

Any help would be appreciated,
Dan


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/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list