org.w3c.dom.Document - output without escaping markup
Joined: Dec 14, 2004
I have HTML markup in a text node within an org.w3c.dom.Document and I need to write the content of that text node out to a file without it being escaped but every time I tranform it the html markup is escaped
Please can someone tell me how to do this?
ph34r my 133t j4v4 h4><0r1ng sk177z
Author and all-around good cowpoke
Joined: Mar 22, 2000
You are going to have to pre-treat the text so that when the escaping occurs it ends up back the way you want. javax.util.regex.Pattern is your friend in this. I did a whole bunch of this sort of thing but all I can remember is a lot of very very tedious testing. Bill