This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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
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
Joined: Dec 14, 2004
Thankyou for your advice.
I will check out the regex stuff. I appreciate you taking the time to answer.