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

Subject: XSL as a better XPointer was RE: The Cathedral and the Bizarre (was: do you use pi's?)
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
Date: Sat, 10 Apr 1999 10:48:47 -0400
> 
> 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))
>  
> | Sorry, XPointer examples are rarer than hens teeth, need to seize on
> | every one I can get.
> 

	Or in XSL patterns:

	//chapter[21]/v[12]


	XSL patterns are a better XPointer (less weight more filling...)

Jonathan Borden
http://jabr.ne.mediaone.net


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread