Whitespaces 2003-03-18 - By Sudha Sathiaseelan
Hi all,
Is there a known way to ignore whitespace when loading an xml document through DocumentBuilderFactoryImpl? For those familiar with .NET/C#, it's possible to toggle the PreserveWhitespace flag on an XmlDocument. I can't seem to find a corollary with the xerces parser. Any suggestions (besides formatting the input xml document on one line)
Thanks, Sudha
i.e.
<?xml version="1.0"?><books price="6"><book><author>Carson</author></book>< /books>
as opposed to
<?xml version="1.0"?> <books price="6"> <book> <author>Carson</author> <price format="dollar">31.95</price> <pubdate>05/01/2001</pubdate> </book> </books>
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|