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

Subject: Re: [xsl] xsl:key in a function?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 5 Mar 2012 22:32:58 +0000
On 5 March 2012 21:56, ihe onwuka <ihe.onwuka@xxxxxxxxxxxxxx> wrote:
> 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

...and for that reason, I'm out.

:)



-- 
Andrew Welch
http://andrewjwelch.com

Current Thread