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>&lt;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.")

Reply via email to