[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Tags in text content
For people that like to use XProc, in situations like this, XProc's
<p:unescape-markup content-type="text/html"/> is my friend.
It may generate some extra HTML elements that you don't want. I remove them with <p:unwrap match="html:html | html:head | html:body" xmlns:html="http://www.w3.org/1999/xhtml"/> Pieter On 4/11/24 10:34, Norm Tovey-Walsh ndw@xxxxxxxxxx wrote: I have some xml where there are btagsb embedded in the text content.As Martin suggested, parse-xml-fragment() will do the job as long as all of the escaped markup is well-formed. If whatbs been escaped is HTML that may have come from a process that produced not-well-formed markup, for example:
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|