xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arundhati Bhowmick <bhowm...@jtcsv.com>
Subject Re: extra space in xml files
Date Tue, 10 Oct 2000 20:37:08 GMT
Use the validator and it'll take care of the whitespaces.
Arundhati

Feng Xia wrote:

> I am using Xerces C++ 1.2 on solaris. When I parse a xml document, the parse
> gives me extra nodes for all the white spaces in the document. For example,
> <node_1>
> Hello
> </node_1>
> <node_2>
> ...
>
> I will get element(node_1),text(Hello),text(for the space after
> </node_1>),element...
>
> If I remove the return after </node_1>, I can get rid of the extra text node
> after </node_1>
>
> How can I remove the extra nodes caused by the white spaces without changing
> the xml file?
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

--


Mime
View raw message