Re: [xsl] XSLT test of xsl variable problem

Subject: Re: [xsl] XSLT test of xsl variable problem
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Thu, 04 Nov 2004 07:24:44 +0100
Hi,

I would have guessed that you meant <xsl:if test="@internationalize-resources">
to test for an attribute, but then the test would be pointless as
youknow the element has such an attribute as it is in the match pattern.
So assuming you did mean to test for both element and attribute, the
above could more simply be written

I would say that Ann Marie is trying to _redefine_ the internationalize-resources, replacing existing ones by ones that contain :[value] as value.


Though I agree, why not try to fill in the value directly, by using a lookup table (document() function?) or a global parameter or so...

Grtz,
Geert

--
Geert.Josten@xxxxxxxxxxx
IT-consultant at Daidalos BV, Zoetermeer (NL)

http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464

GPG: 1024D/12DEBB50

Current Thread