just wondering if you can get Chinese back by setting the output encoding. For example, adding the following line before your first template?
<xsl:output method="xml" encoding="ISO2022CN_GB"/> cheers, Yueming ----- Original Message ----- From: "xi chen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 24, 2001 3:20 AM Subject: bug? > hi,dear Mr/Mrss, > Now I am using Xalan, I use it just like: > > "java -cp > .;xerces.jar;xalan.jar;bsf.jar;fop.jar;w3c.jar;xml.jar > org.apache.xalan.xslt.Process -in %1 -xsl a.xsl -out > index.html" > > I met a problem, i found when i write my xml source > file in chinese, such as > > "<title>��������ļ�</title> " > > and then in my xsl file, i write like this > </xsl:attribute> > <xsl:attribute name="alt"> > <xsl:value-of select="position ()"/><xsl:text>. > </xsl:text><xsl:value-of select="title"/> > </xsl:attribute> > > But i found in the html file, it display like this: > > "<img border="0" height="20" width="380" name="menu2" > src="imagemaster/menu2.jpg" alt="2. > &#21019;&#24314;&#20320;&#30340;&#31532;&#19968;& ;#20010;&#25945;&#31243;"> > " > I need the content of title display as content of alt > in html file, My OS is windows2000 chinese version, i > found if i change the OS to english version, the > content of alt will be ok, I wonder if it is a bug in > Xalan to handle chinese Font? Can u give me any > suggestion, thanks a lot! > > _________________________________________________________ > Do You Yahoo!? ��¼����Ż�����! http://mail.yahoo.com.cn > > <font color=#6666FF>���ģ����ƣ����ˣ�û���ɣ���������ɣ�</font>���� > �Ż�ȫ��������! http://cn.chat.yahoo.com/c/roomlist.html
