• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling XML escaping.

 
Harvinder Kotli
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20494
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our XML forum.
 
Paul Clapham
Sheriff
Pie
Posts: 20739
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic