|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using saxon:parse on processing instructions
On 18.12.2017 21:18, Spencer Tickner spencertickner@xxxxxxxxx wrote:
Hello and thanks in advance for the help. I'm scratching my head on trying to convert a string of serialized xml in a processing instruction back into XML. A PI does not contain parsed character data so your data is double escaped. Does <xsl:template match="processing-instruction('pi')"> <root xmlns:bcl="http://example.com/bcl"><xsl:value-of select="saxon:get-pseudo-attribute('a')" disable-output-escaping="yes"/></root> </xsl:template> work with your version of Saxon? With Saxon 9.7 PE that gives <root xmlns:bcl="http://example.com/bcl"><bcl:e>Test</bcl:e></root>
|
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
|

Cart








