net.sf.saxon.exslt

Class Common


public abstract class Common
extends java.lang.Object

This class implements extension functions in the http://exslt.org/common namespace.

Method Summary

static Value
nodeSet(Value frag)
Convert a result tree fragment to a node-set.
static String
objectType(XPathContext context, Value value)
Return the type of the supplied value: "sequence", "string", "number", "boolean", "external".

Method Details

nodeSet

public static Value nodeSet(Value frag)
Convert a result tree fragment to a node-set. This is a hangover from XSLT 1.0; it is implemented as a no-op.

objectType

public static String objectType(XPathContext context,
                                Value value)
Return the type of the supplied value: "sequence", "string", "number", "boolean", "external". (EXSLT spec not yet modified to cater for XPath 2.0 data model)