SORRY; I completely misread the question! (I should learn not to fire from the hip when short on sleep.)
The problem you're having is that attribute contents are expected to be text, not elements. XSLT won't let you insert the results of xsl:element (or even a literal result element) inside an xsl:attribute. You have to hand-construct that syntax as text.
Try:
<xsl:attribute name="value">
<xsl:text><getLocalizedResource name="resName":gt;</xsl:text>
</xsl:attribute>
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"may'ron DaroQbe'chugh vaj bIrIQbej" ("Put down the squeezebox and nobody gets hurt.")
- Re: Unable to generate JSP output with Xalan -- CORRECTIO... Joseph Kesselman
- Re: Unable to generate JSP output with Xalan -- CORR... Liviu Casapu
- Re: Unable to generate JSP output with Xalan -- ... Joseph Kesselman
- Re: Unable to generate JSP output with Xalan -- CORR... Joseph Kesselman
- RE: Unable to generate JSP output with Xalan -- CORR... Tim Cronin
