aspose file tools*
The moose likes Java in General and the fly likes Printing & in the XML Document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Printing & in the XML Document" Watch "Printing & in the XML Document" New topic
Author

Printing & in the XML Document

Steven Rodeo
Ranch Hand

Joined: Mar 06, 2008
Posts: 72
HI Folks,
I am using the following code snippet


To Generate the following output in my XML document

The above code snippet gives:

<DISPLAY> &\amp ; quot;8947494 &\amp ; quot; </DISPLAY>
( I had to use the escape characters as the above won't print the (&)amp

Desired output is:

<DISPLAY> &quot;8947494&quot; </DISPLAY>

Please help!
_SM
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Printing & in the XML Document