[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT compiler and syntax extensions
Having manually translated a complex XSLT 2.0 stylesheet into XSLT 1.0,
my point of view is that the main difficulty is concerning XPath 2.0.
Complex XPath 2.0 expressions require extra XSLT 1.0 instructions and
frequent use of node-set() function to allow to re-transform results.
Have a look at
http://www.svgopen.org/2010/papers/14-Dynamic_SVG_graphs_for_XForms/#d4e184
XSLTForms has its own XPath 1.0 parser written in XSLT 1.0. It is clearly its most complex part and surely XSLT 2.0/XPath 2.0 would have helped to simplify it. -Alain Le 18/11/2010 15:05, Emmanuel Bigui a icrit : On Thu, Nov 18, 2010 at 12:15 PM, Michael Kay<mike@xxxxxxxxxxxx> wrote:Easy really.If the compiler needs to be able to compile itself then basically it amounts to rewriting Saxon in XSLT: very easy, probably, yes (I wonder why it has not yet been done...?)
|
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
|