Re: The Cathedral and the Bizarre (was: do you use pi's?)

Subject: Re: The Cathedral and the Bizarre (was: do you use pi's?)
From: Lars Marius Garshol <larsga@xxxxxxxxxx>
Date: 11 Apr 1999 16:34:54 +0200
* 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


Current Thread