[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL as a better XPointer was RE: The Cathedral and the B

Subject: Re: XSL as a better XPointer was RE: The Cathedral and the Bizarre (was: do you use pi's?)
From: Chris Lilley <chris@xxxxxx>
Date: Sun, 11 Apr 1999 05:13:19 +0200
lilley patterns

Jonathan Borden wrote:
> 
> >
> > That is correct. More correctly, it locates the element that contains
> > verse 12. 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))

>         Or in XSL patterns:
> 
>         //chapter[21]/v[12]
> 
>         XSL patterns are a better XPointer (less weight more filling...)

Ok, so now make it do the span (verse 12 *and* verse 13) and for an
encore, make it select "better Xpointer (less weight" in 

<foo>XSL patterns are a better XPointer <reason>(less weight more
filling...)</reason></foo>

--
Chris



 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.