Class UnescapeNCName

  • All Implemented Interfaces:
    Callable, Function, GroundedValue, Item, Sequence

    public class UnescapeNCName
    extends SystemFunction
    The saxon:unescape-NCName function reverses the effect of saxon:escape-NCName: it takes an NCName constructed using saxon:escape-NCName as input, and returns the string from which it was constructed. A dynamic error is raised if the input contains an invalid escape sequence.
    • Constructor Detail

      • UnescapeNCName

        public UnescapeNCName()
    • Method Detail

      • call

        public StringValue call​(XPathContext context,
                                Sequence[] arguments)
                         throws XPathException
        Evaluate this function call at run-time
        Parameters:
        context - The XPath dynamic evaluation context. Not used in this case
        arguments - The values of the arguments to the function call.
        Returns:
        The unescaped NCName
        Throws:
        XPathException - if lazy evaluation of the supplied argument fails, or if the input contains an invalid escape sequence