[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 | | 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. | so you'd have to say something like | | nt.xml#span(root.descendant(21,chapter).child(12,v),root.descendant(21,chapter).child(13,v)) My XPointer is allowed by the grammar, and as far as I can tell or remember there is no language in the spec that states that this is illegal, nor can I see any good reason why it should be. nt.xml#span(root.descendant(21,chapter),root.descendant(22,chapter)).child(1) would also be allowed by the grammar and as far as I can recall the spec doesn't disallow that either, although there's nothing to indicate how this should be handled. I've pointed out the latter problem to the editors together with many others. In general the current XPointer spec is not very precise or complete, but hopefully the next version will be. --Lars M. 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
|