Re: XSL as a better XPointer was RE: The Cathedral and the Bizarre (was: do you use pi's?)

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

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