I have a parameter which currently is read from a file:
<xsl:param name="source" select="document('filename.xml')" />
but now I need to replace it with a string containing xml that comes from external source, and I get an error
XPTY0019: Required item type of first operand of '/' is node(); supplied value has item type xs:string`
Unfortunately I cannot use saxon's exsl:node-set() function, for business reasons I have to use version that doesn't support it. Is it possible to get node() from string in some other way?
exsl:node-set()function will not convert a string to a node tree. Please show a minimal reproducible example.fn:parse-xml()but requires 9.6 or greater saxonica.com/html/documentation/functions/fn/parse-xml.html