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

Re: XSLT 2.0 or XSLT 1.0 -- which is more elegant? (Wa

Subject: Re: XSLT 2.0 or XSLT 1.0 -- which is more elegant? (Was: Re: mixing it up: REST+XML Namespaces + XLST)
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Tue, 19 Apr 2005 20:48:18 +1000
import schema xsl
Thanks to Jeni and Mike

for making me aware of what xsl:import-schema does.

I've missed this -- most probably because "import-schema" and "import"
generally (or at least to me) means "get from another file".

A much better name in this particular case would be "define-schema"

Having said that, I'm happy to be proven incorrect. Actually not
extremely happy, as XSD does not happen to be the most elegant xml
schema language.

Why it can't be... let's say RNG ? :o)


Cheers,
Dimitre.

On 4/19/05, Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> wrote:
> 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/

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.