[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?)

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
cathedral and the bizarre quotes
* 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.