aspose file tools*
The moose likes XML and Related Technologies and the fly likes Disabling XML escaping. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Disabling XML escaping." Watch "Disabling XML escaping." New topic
Author

Disabling XML escaping.

Harvinder Kotli
Greenhorn

Joined: Dec 26, 2008
Posts: 5
How can I disable XML escaping for object of type org.w3c.dom.Document?
e.g: & symbol should not be escaped to &
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19761
    
  20

Moving to our XML forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18907
    
    8

The question doesn't make sense. The data in the DOM is in an internal form, where the concept of "escaping" doesn't apply. When you convert that internal form to an XML document (e.g. a text file), then you might want to not escape certain data. That conversion is called "serializing". So you are asking a question about the serializer that you will choose to use, whatever it is.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disabling XML escaping.