Hi, I'm experiencing a weird behaviour from Xalan and I'm not quite sure what's the problem. The situation: I have an XML file that contains characters like "á", "é" so I specify the encoding of the XML file and the XSL sheet appropriately using "encoding="iso-8859-1". So far so good. But then, after processing the XML with the stylesheet, wherever I use <xsl:value-of select="@ATTRIBUTE"/> I get the right result but wherever I use {@ATTRIBUTE} I get some weird characters instead of the "á", "é"... For example: XML FILE --------- <?xml version='1.0' encoding='iso-8859-1'?> ... <PROBLEM CODE = "70" TITLE = "Consulta de Información" /> ... XSLT FILE --------- <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" indent="yes"/> <xsl:template match="PROBLEM"> ... Wrong value: <input... value="{@TITLE}"> Right value: <xsl:value-of select="@TITLE"/> ... </xsl:template> HTML RESULT ------------ ... Wrong value: <input... value="Consulta de Información"> Right value: Consulta de Información ... I've tested it with Xalan 1.01, 1.1 and 1.2D01 and all of them show the same behaviour so I'm beginning to think I've done something wrong. Have I? I thought {@} and <xsl:value-of...> where like synonyms. Is there any other method I can use to get the TITLE inside value""? Thanks for your help and regards, Dan PD: Please forward a copy of the answer ro me as I'm not currently subscribed to the list(My mailbox is exploding with too many lists :)) . Thank you. ------------------------------------------- Daniel Lopez Janariz (D.Lopez@uib.es) Web Services Computer Center Balearic Islands University -------------------------------------------