[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The Cathedral and the Bizarre (was: do you use pi's?)
> >>> Lars Marius Garshol <larsga@xxxxxxxxxx> 04/11 3:34 pm >>> > > * Lars Marius Garshol > | > | If I were to locate the entire quote I'd have to write > | >| nt.xml#root().descendant(21,chapter).span(child(12,v),child(13,v)) > > * James Tauber > | > | I didn't think spans could act as relative location terms, > > They can't. In terms of the grammar they are OtherTerms. Really ? According to the WD that I have (WD-xptr-19980303) the arguments of span() are both XPointers (from grammar - [15]) and both are interpreted relative to the SPAN's location (from text - S3.4 ) ie. they both have implicit origin()'s instead of root()'s. Note that the example given by Lars (& myself in a private email to Chris) are almost identical to the example given in that WD. Alistair XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|