public interface PatternParser
Modifier and Type | Method and Description |
---|---|
Pattern |
parsePattern(String pattern,
StaticContext env)
Parse a string representing an XSLT pattern
|
Pattern parsePattern(String pattern, StaticContext env) throws XPathException
pattern
- the pattern expressed as a Stringenv
- the static context for the patternXPathException
- if the pattern contains a syntax errorCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.