最好是有实例的文章,
http://www.php.net上的我看过了,看不大懂:P

解决方案 »

  1.   

    如果你在win32环境下
    $source = new com("Microsoft.XMLDOM");
    $source->validateOnParse = TRUE;
    $source->async = FALSE;
    $source->load(realpath("/xml/data.xml"));
    echo $source.documentElement;
      

  2.   

    不久后肯定要转到Linux下使用,linux环境下应该怎样写?
    有无两种环境下都可以用的写法???
      

  3.   

    另外还有几句该怎么改啊?
    Set rootNode = source.documentElement
    Set tableNode = source.selectSingleNode("/root/table[@tableName='test']/fieldclass")num=cint(tableNode.childNodes.length)
    if tableNode.childNodes(i).selectSingleNode("@key").text ="test"
      

  4.   

    php中有domxml扩展库函数,不过好像没有支持gb2312中文编码的,至少我没有找到。在windows nt环境下用msxml当然不错了,不过没办法迁移到linux平台...
      

  5.   

    我要支持UTF-8编码的
    在linux平台下该用什么?????
      

  6.   

    有谁知UTF-8(16)如何转成其它的编码?(比如GB2312)
      

  7.   

    才知道的
    iconv函数 (php 4.3.1)GB2312 -- UTF-8
    iconv("GB2312","UTF-8",$text)UTF-8 -- GB2312
    iconv("UTF-8","GB2312",$text)曾尝试
    iconv("UTF-8","Big5",$text)
    但结果似乎不对
      

  8.   

    http://phpuser.com/articles_and_tutorials/index.php?search=xml
      

  9.   

    http://chinese.pku.edu.cn/netstudy/php4gb/group.php-53.htm
    http://www.ccidnet.com/tech/focus/index-1.php3?specname=php
      

  10.   

    只是很简单的东西,PHP内置的XML函数是无法做事的