On 28 February 2018 at 20:16, Nick Wellnhofer <[email protected]> wrote:
> On 28/02/2018 16:01, Aaron Gray wrote:
>
>> I needed the 'select' in order to allow XPath generation of filenames
>> rather than them being a set constant filename with 'href'.
>>
>
> The `href` attribute of xsl:document and exsl:document is interpreted as
> attribute value template. Strings in curly braces are evaluated as XPath
> expressions, for example
>
> <xsl:document href="{$directory}/{$file}.xml">
Thanks Nick, thats brilliant, and makes things simple again !
Regards,
Aaron
--
Aaron Gray
Independent Open Source Software Engineer, Computer Language Researcher,
Information Theorist, and amateur computer scientist.
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
https://mail.gnome.org/mailman/listinfo/xslt