xsl-list
[Top] [All Lists]

Re: XSLT 2.0 or XSLT 1.0 -- which is more elegant? (Was: Re: [xsl] mixing it up: REST+XML Namespaces + XLST)

2005-04-19 03:33:43
Hi Dimitre,

What is really not elegant at all in XSLT 2.0 is the impossibility to
define user data types inline in a stylesheet  -- forcing the
programmer to artificially separate in different files type definition
from type usage makes XSLT 2.0 rather unique... :(

Since the November 2004 Working Draft, you can nest a (WXS) schema
within an <xsl:import-schema> element, so you can define data types
within the stylesheet module if you want. This only applies to
Schema-Aware XSLT processors, of course.

Cheers,

Jeni

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


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>