keshawra <keshwara@cyberwerx.com> wrote in news:1137993343.720288@sj-
nntpcache-5:
> Hi ,
>
[quoted text clipped - 12 lines]
>
> kiri
If <Replace> is supposed to hold strings, then your XML is flawed. The DTD
or Schema should complain that <Replace> should not contain other elements.
In other words: change the XML to use escape sequences (entity references)
instead of <, > and ". Alternatively, use a CDATA section.
If you cannot correct the XML file, you're probably going to need to find a
programmatic solution. One solution, although not very pretty, is just to
accept JAXP's output, and convert any elements within a <Replace> element
back to Strings.