saxon:get-pseudo-attribute
Parses the contents of a processing instruction.
get-pseudo-attribute($att as xs:string) ➔ xs:string?
| Arguments | |||
| 
 | $att | xs:string | The name of the pseudo-attribute required | 
| Result | xs:string? | ||
Namespace
http://saxon.sf.net/
Notes on the Saxon implementation
Available since before Saxon 8.0.
Details
This function parses the contents of a processing instruction (supplied as the context
            item) whose content follows the conventional attribute="value" structure (as defined for
            the <?xsl-stylesheet?> processing instruction). The context should be
            a processing instruction node; the function returns the value of the pseudo-attribute
            named in the first argument if it is present, or an empty sequence otherwise.
If the attribute value contains a sequence of characters in the form of an XML
            character reference, for example 
, this is parsed and converted
            into the corresponding character.
Although intended for parsing processing instructions, the function will actually parse the string value of the context item whatever it might be.