[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: How to Parse String with Escaped XML Markup?
Am 15.01.2021 um 16:23 schrieb Martin Honnen martin.honnen@xxxxxx:
Am 15.01.2021 um 15:58 schrieb Eliot Kimber ekimber@xxxxxxxxxxxx:
I researched this question in this list but I didn't find a recent
response so I'm asking it again.
My specific requirement is to take the value of an Oxygen deleted
content processing instruction and parse it back into elements in the
context of an XSLT 3 transform.
The PI is:
<?oxy_delete author="ekimber" timestamp="20210115T085216-0600"
content="<body><p><ul
id="ul_c5k_mhh_34b"><li>li
one</li><li>li
two</li></ul></p></body>"?>
What I'm failing to work out is how to convert the value of the
@content pseudo-attribute back into a proper XML string that I can
pass to parse-xml().
I think Saxon PE and EE have an extension function to access the pseudo
attributes of a processing instruction value.
https://www.saxonica.com/html/documentation/functions/saxon/get-pseudo-attrib
ute.html
|
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
RSS 2.0 |
|
Atom 0.3 |
|
|