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.
&amp;#21019;&amp;#24314;&amp;#20320;&amp;#30340;&amp;#31532;&amp;#19968;&amp;#20010;&amp;#25945;&amp;#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

Reply via email to