|
Subject: Re: Can a match attribute use a non-pattern expression? From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx> Date: Wed, 5 May 1999 09:32:57 -0400 |
>Axis Identifiers are a part of location paths...
>
>>From Section 6.1
>
>[3] RelativeLocationPath ::= Step | ...
>
>[4] Step = AxisIdentifier '(' NodeTestPredicate ')' | AbbreviatedStep
>
Yes but relative location paths and steps are not part of patterns. Witness:
[48] Pattern ::= LocationPathPattern
| Pattern '|' LocationPathPattern
[49] LocationPathPattern ::= '/' RelativePathPattern?
| IdKeyPattern (('/' | '//') RelativePathPattern)?
| '//'? RelativePathPattern
[50] IdKeyPattern ::= 'id' '(' Literal ')'
| 'key' '(' Literal ',' Literal ')'
[51] RelativePathPattern ::= StepPattern
| RelativePathPattern '/' StepPattern
| RelativePathPattern '//' StepPattern
[52] StepPattern ::= AbbreviatedNodeTestStep
[12] AbbreviatedNodeTestStep ::= '@'? NodeTest Predicate*
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| Java I/O (O'Reilly & Associates, 1999) |
| http://metalab.unc.edu/javafaq/books/javaio/ |
| http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://metalab.unc.edu/javafaq/ |
| Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/ |
+----------------------------------+---------------------------------+
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Can a match attribute use a non, Keith Visco | Thread | Re: Can a match attribute use a non, Keith Visco |
| Re: XFO Mapping..., Paul Prescod | Date | Re: Can a match attribute use a non, Elliotte Rusty Harol |
| Month |