用VB操作xml文件。在使用.load时,本来xml文件中的encoding属性=“GB2312”,如下:
<?xml version="1.0" encoding="GB2312" ?> 
但load近来后就没有encoding了。如下:
<?xml version="1.0"?> 
在使用保存.save后,有的有encoding="GB2312",有的没有encoding="GB2312"。这是怎么回事。如果我想修改encoding属性应怎么做。我的目的是使我生成的xml文件的encoding="GB2312",因怎么做。请指教。谢谢。