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

Re: user defined data elements in stylesheets

Subject: Re: user defined data elements in stylesheets
From: "Mukul Gandhi gandhi.mukul@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Dec 2019 11:20:21 -0000
Re:  user defined data elements in stylesheets
On Fri, Dec 6, 2019 at 4:35 PM Martin Honnen martin.honnen@xxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:


> The usual way is
>
>     document('')
>
> but it is not portable in any case, if the stylesheet was loaded from a
> string for instance, that call might fail.
>
> In XSLT 2 and 3 I think I would prefer to use a parameter or variable
> with element contents instead of user defined data elements, I think
> user defined data elements are mainly useful in XSLT 1 to work around
> the result tree restriction of any param/variable containing nodes.
>

Thanks, Martin & Geert, for explanation. Thats helpful.



-- 
Regards,
Mukul Gandhi

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.