I have tried to use the ns_xml module, however, I found a problem
about character encoding issue. I have a xml file, which is in big5.
When I try to copy some of the nodes from the source parsed tree to a
new parsed tree, then render and save the new tree into a text file,
I find out that the content of the file is as follows:
<category name="waste_recycling"/>
<release_date>2001-05-26</release_date>
<expiry_date>2001-12-26</expiry_date>
<keywords>可持續發展;廢棄&#x
7269;資源回收;綠領聯盟
</keywords>
All of the chinese characters have been converted to hexdecimal code
while the ISO characters are not affected. When I try to browse this
file in IE, it can display the content in big5 characters properly.
But since this xml file might be
read by human, how can I make the content of the output file in
chinese characters rather than hexdecimal code?