|
Subject: Re: [xsl] 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 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] user defined data element, Martin Honnen martin | Thread | Re: [xsl] user defined data element, Geert Bormans geert@ |
| Re: [xsl] user defined data element, Geert Bormans geert@ | Date | Re: [xsl] best practices for using , Piez, Wendell A. (Fe |
| Month |