xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angelini Fabio"<fabio...@iol.it>
Subject Help !!! How to remove Carrige Return
Date Wed, 29 Nov 2000 12:02:02 GMT
Hi everybody,

I'm parsing a file (with DOMParser) like :

<location>
<address>
hilton street
</address>
<city>
london
</city>
</location>

the resulting DOM document has some 'text' nodes with a Carrige Return 
and more precisely I have:

<location>      -> element 
    CR          -> text 
    <address>   -> element 
        hilton  -> text
    CR          -> text 
    <city>      -> element
        london  -> text

I would like to remove these CRs. 

Can somebody help me ?
Is there an undocumented API to disable CR parsing ?

Thanks
Fabio



Mime
View raw message