Re: [xslt] xsltproc xalan:write problem



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">

Nick


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]