W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2003

Can I use JTidy to "unescape" XML content inside normal XML elements?

From: Karr, David <David.Karr@wamu.net>
Date: Tue, 29 Jul 2003 10:01:37 -0700
To: html-tidy@w3.org
Message-id: <0C260F619E428642BFA6380177C3ADF3377394@exmsea005.us.wamu.net>

I have a process which will provide XML that has one odd characteristic.
It will be mostly normal, except some of the content of some particular
tags will be "escaped" XML content.  That is, the content will begin
with "&lt;" and eventually end with "&gt;".  I'm trying to figure out a
clean XSLT way of transforming this input to "clean" XML before I do a
further transform on it.  I thought of using JTidy to do this first
step.  Is it possible for JTidy to clean up arbitrary XML, replacing
"escaped" XML content with its unescaped form?

I might just boot this entirely and build a "string replace" loop in
Received on Tuesday, 29 July 2003 13:03:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC