Note that your example *was* wrong as you showed it to us -- you had double quotes inside an attribute also quoted with doublequotes, and you'd forgotten to close the attribute quoting. That's what caused me to immediately jump to the wrong answer; I saw the nesting problem and didn't read further.
Note too that this may mean you have to change my suggested response. I don't remember whether Xalan is smart enough to try to pick a quote that doesn't conflict with the text content, or if it just always uses quotes and converts contained quotes to ". If the latter... I don't know whether your JSP processor would accept that form. If it doesn't, you may have to switch from quotes to apostrphies yourself:
<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
