[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|