| Author |
org.w3c.dom.Document - output without escaping markup
|
Rick Beaver
Ranch Hand
Joined: Dec 14, 2004
Posts: 464
|
|
Hi 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
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
|
|
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
|
Java Resources at www.wbrogden.com
|
 |
Rick Beaver
Ranch Hand
Joined: Dec 14, 2004
Posts: 464
|
|
Hi Bill Thankyou for your advice. I will check out the regex stuff. I appreciate you taking the time to answer.
|
 |
 |
|
|
subject: org.w3c.dom.Document - output without escaping markup
|
|
|