net.sf.saxon.functions

Class NamespaceForPrefix

public class NamespaceForPrefix extends SystemFunction

This class supports the function namespace-uri-for-prefix()
Method Summary
ItemevaluateItem(XPathContext context)
Evaluate the function

Method Detail

evaluateItem

public Item evaluateItem(XPathContext context)
Evaluate the function

Parameters: context the XPath dynamic context

Returns: the URI corresponding to the prefix supplied in the first argument, or null if the prefix is not in scope

Throws: XPathException if a failure occurs evaluating the arguments