nagineni
2009-12-04 05:25:08 UTC
Hi,
I'm creating xml file using JAXP DOM parser.While writing text data to a
node parser is writing special characters.Below is the example.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<template>
<name>naga</name>
<expr>for(int i=0;i<20;i++)</expr>
</template>
I want to my XML file output for(int i=0;i<20;i++) inside <expr> element.Is
there any solution around it ?
Can any one suggest me the solution for this problem ?Thanks in advance.
Regards,
Naga.
-----
Regards,
Naga.
I'm creating xml file using JAXP DOM parser.While writing text data to a
node parser is writing special characters.Below is the example.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<template>
<name>naga</name>
<expr>for(int i=0;i<20;i++)</expr>
</template>
I want to my XML file output for(int i=0;i<20;i++) inside <expr> element.Is
there any solution around it ?
Can any one suggest me the solution for this problem ?Thanks in advance.
Regards,
Naga.
-----
Regards,
Naga.
--
View this message in context: http://old.nabble.com/Special-characters-problem-while-writing-XML-files-using-JAXP-DOM-Parser-tp26635769p26635769.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.
View this message in context: http://old.nabble.com/Special-characters-problem-while-writing-XML-files-using-JAXP-DOM-Parser-tp26635769p26635769.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.