[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|