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
|