xsl-list
[Top] [All Lists]

Re: [xsl] XPath parsing in XSLT (version 2.0)

2006-11-21 09:29:11
Ofcourse, I think some form of parsing can be done in functional
languages. But can an *XPath 2.0* parser be written in XSLT 2.0?

I think the parser has to produce a parse tree. Can this be done with
XSLT 2.0? Producing a parse tree from grammar input requires lot of
state management, which could be difficult with XSLT 2.0..

On 11/21/06, Colin Adams <colinpauladams(_at_)hotmail(_dot_)com> wrote:
>From: "Mukul Gandhi" <gandhi(_dot_)mukul(_at_)gmail(_dot_)com>

>Why do you want to do this with XSLT 2.0? I think we need an
>imperative language to implement XPath parser.

Functional languages can parse just as well as imperative languages.

--
Regards,
Mukul Gandhi

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--