How to use XML wrapped in CDATA inside another XML for XSL transformation?
问题 An XML document contains another XML element, which is wrapped in CDATA. How can the wrapped XML be used for XSL and XSL-FO transformation (version 1)? 回答1: This is not possible with standard XSLT 1.0 or 2.0, in a single transformation. It can be done using Saxon 9 Professional Edition or Enterprise Edition. These products have a saxon:parse() extension function. Or use the XPath 3.0 parse-xml() function, which is also supported by recent versions of Saxon PE/EE. As @grtjn points out, it is