[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: an xsl/xpath question re attribute qualifiers
- From: james anderson <email@example.com>
- To: David Carlisle <firstname.lastname@example.org>
- Date: Thu, 08 Mar 2001 18:43:03 +0100
I was, and remain somewhat, confused by the analogies and differences in
the respective grammars in REC-xslt-19991116 and REC-xpath-19991116. I
mistook the XSLT (Pattern , LocationPathPattern, ...) formulation for
XPath's ( LocationPath , (AbsoluteLocationPath | RelativeLocationPath ) )...
I surmise I should understand it to be more like XPath's (UnionExpr,
Is that correct?
David Carlisle wrote:
> > 2a. For example, I am wondering how something like the id and key
> > anchors from the xslt description best fit into the xpath grammar.
> id() and key() are XPath functions added to the XPath initial context by
> Xpath and XSLT respectively. So you don't need to change the grammar for
> them: they match the production FunctionCall from the XPath spec.