[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xsl:key in a function?


Subject: Re: [xsl] xsl:key in a function?
From: ihe onwuka <ihe.onwuka@xxxxxxxxxxxxxx>
Date: Mon, 5 Mar 2012 21:56:33 +0000

On Mon, Mar 5, 2012 at 8:15 PM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
>> Well I know the solution - keys, read the file once and stick it in a
>> variable, however this is not an option because they don't want to let
>> me tweak the generated code.
>
> Write a stylesheet that imports the generated code and override the
> relevant part.
>

Can't for 2 reasons.

1. They want all the code to be generated.

2. The generated code doesn't use template rules, all the iterations
are done with xsl:for-each


Current Thread