Hi...
I tested xalan-c, using ICU.
but, I encounered the encoding problem.
Is Xalan-c(using ICU) supported euc-kr character set ?
If so, what I mistook in process?
Regards
Heonsuk Lee
----------------------------------------------------
I did compiled Xalan and tested the next step.
1. ICU Compile
$ runConfigureICU SOLARISGCC
$ make
-> Creating libicuXXXX files into /usr/local/lib
2. Xerces Compile
$ runConfigure -psolaris -cgcc -xg++ -minmem -ticu -rpthread
-> Creating libxerces-c.so into $HOME/xerces-c-src2_1_0/lib
-> Add LD_LIBRARY_PATH into Configuation
3. Xalan Compile
$ runConfigure -psolaris -cgcc -xg++
-> Creating libxalan-c1_4_0.so into $HOME/xml-xalan/lib
-> Add LD_LIBRARY_PATH into Configuation
4. Using sample file bin/Xalan, I transformed the sample XML File.
$ Xalan -o foo.out test.xml foo.xsl
Then, foo.out is broken. I think, maybe this is a encording problem.
* foo.out
<?xml version="1.0" encoding="euc-kr"?>
하하하
호호호
<??>abcd</??>
1234
----------------------------
(Maybe following Korean Charater set is broken in your brower. reference Only)
* foo.xml
<?xml version="1.0" encoding="euc-kr"?>
<??>
<??>???</??>
<??>???</??>
<english>abcd</english>
<???>1234</???>
</??>
* foo.xsl
<?xml version="1.0" encoding="euc-kr"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output encoding="euc-kr"/>
<xsl:template match="english">
<??><xsl:value-of select="."/></??>
</xsl:template>
</xsl:stylesheet>