[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] an xsl/xpath question re attribute qualifiers
I am trying to reconcile the XPath location expressions with the patterns described for XSL and the forms described for XPointer. I had thought that they were related. 1. Are the respective BNF descriptions available in a concise form? In forms which share the same terms? 2. Is there any document which literally unifies them? 2a. For example, I am wondering how something like the id and key anchors from the xslt description best fit into the xpath grammar. Something like the following looks ok, but seems a bit ad hoc. Is there any definitive source on matters of reconciliation? // [2] AbsoluteLocationPath ::= (SingleSlash RelativeLocationPath? ) | AbbreviatedAbsoluteLocationPath // [2.1] | (Anchor SingleSlash RelativeLocationPath? ) // [3] RelativeLocationPath ::= ( Step SingleSlash RelativeLocationPath ) | Step | AbbreviatedRelativeLocationPath // [4] Step ::= ( AxisSpecifier NodeTest Predicate*) | ( NodeTest Predicate*) | AbbreviatedStep // [5] AxisSpecifier ::= (AxisName '::') // no need to mark the '::' | AbbreviatedAxisSpecifier // [5.1] from WD-xslt1.1-20001212 Anchor ::= IdAnchor | KeyAnchor IdAnchor ::= 'id' '(' Literal ')' KeyAnchor ::= 'key' '(' Literal ',' Literal ')'
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|