Hello all, What is the equivalent of DOMWriterImp lin Xerces2.7?  I know it is 
LSSerializer class. My question may be simple to most of you guys but the 
problem I'm facing with LSSerializer is that it doesn't write the entities out 
as I expected. 
 
For example when I try to read and and write the following using LSSerializer:
 
My input is like this:
<project id = "TP001">             <name>Telecommunication Project</name>      
<start-date>March 20 1999</start-date>      <end-date>July 30 2004 
&#x02DC;</end-date></project> 
I get the output like this:  
<project id="TP001"> 
         <name>Telecommunication Project</name>
         <start-date>March 20 1999</start-date>
           <end-date>July 30 2004 ˜</end-date>
</project>
 
Is there a way to preserve the entity values as it reads. I know using 
DOMWriterImpl, it doesn't replaces the entity with the equivalent character.
 
 
By the way, I'm using one of the DOM3 example that comes with Xerces 2.7. 
 
 
Thanks!
_________________________________________________________________
Learn. Laugh. Share. Reallivemoms is right place!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us

Reply via email to