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

Re: Re: Re: sequential navigation problem (long)

Subject: Re: Re: Re: sequential navigation problem (long)
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 5 Dec 2002 19:14:56 +0000
Re:  Re: Re: sequential navigation problem (long)
Dimitre wrote:
>> Could you provide a pointer to this work (writing a parser in XSLT
>> ), please?
>>
>> Dimitre

David C. wrote:
> I have some vague recollection of Jeni once posting here some xslt
> that would parse some subset of Xpath syntax. perhaps it's the exslt
> template version of evaluate().. let me see ... nope don't see it
> there.

A couple of years ago I wrote an XSLTDoc application
(http://www.jenitennison.com/xslt/utilities/XSLTDoc.zip) that includes
an XPath parser written in XSLT (xpath.xsl). The parser creates a
parse tree in XML. The application uses that parse tree to create
explanation for the expression, but I guess you could do other things
with it such as use it for evaluating expressions.

Anyway, I'm quite sure that it's by no means perfect and it does make
heavy use of the node-set() extension function. It would be a fair bit
easier to do with the regular expression support in XSLT 2.0 (though
not *very* easy, since you have to worry about matching brackets and
so on).

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 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.