getChildrenExpr
public static NodeSetExpr getChildrenExpr()
parseBooleanExpr
public static BooleanExpr parseBooleanExpr(Node node,
String expr,
VariableSet locals)
throws XSLException
parse an XPath expression which is to be
used in a context in which a Boolean is expected
parseNodeSetExpr
public static NodeSetExpr parseNodeSetExpr(Node node,
String expr,
VariableSet locals)
throws XSLException
parse an XPath expression which is to be
used in a context in which a NodeSet is expected
i.e. for the "select" attribute of an "xsl:apply-templates"
parseNumberExpr
public static NumberExpr parseNumberExpr(Node node,
String expr,
VariableSet locals)
throws XSLException
parse an XPath expression which is to be
used in a context in which a Number is expected
parsePattern
public static TopLevelPattern parsePattern(Node node,
String pattern,
VariableSet locals)
throws XSLException
parse an XPath match pattern (with some variables!?!?)
node
- represents the node in the stylesheet
with the expression we're parsing. Used for
plugging the location in any Exception we might throw
xsl:number allows variables in the "count" and "from" attributes
parseStringExpr
public static StringExpr parseStringExpr(Node node,
String expr,
VariableSet locals)
throws XSLException
parse an XPath expression which is to be
used in a context in which a String is expected
parseValueExpr
public static StringExpr parseValueExpr(Node node,
String value,
VariableSet locals)
throws XSLException
parse an XSLT attribute value template (which may include
XPath expression(s) enclosed in curlybraces "{" "}")
parseVariantExpr
public static VariantExpr parseVariantExpr(Node node,
String expr,
VariableSet locals)
throws XSLException
parse an XPath expression which is to be
used in a context in which a Variant (xsl:variable, xsl:param)
is expected