小弟也在找DELPHI5下使用XML的例子,哪位仁兄有?

解决方案 »

  1.   

    在D5下就用微软的xmlDom什么的。
      

  2.   

    在D5下,Import MSXML3,然后使用。比较方便的。
      

  3.   

    如何找到msxml3,晴chechy指点,多谢
      

  4.   

    Project|Import Type Library...中,可以Import MSXML3(只要你的机器安装了MSXML3)
      

  5.   

    如何使用,能达到xmldocument的方便功能吗,我安装成功了,但是,不知道如何使用,
      

  6.   

    小弟已经IMPORT MSXML3了,可是苦于没有例子,哪位好心人能给点儿例子吗?
      

  7.   

    var
        IXMLDom: IXMLDOMDocument;
        IXSLDom: IXMLDOMDocument;
    begin
      IXMLDom := CoDOMDocument30.Create;
      IXSLDom := CoDOMDocument30.Create;
      IXMLDom.async := False;
      IXMLDom.load(AXMLFile);
      IXSLDom.async := False;
      IXSLDom.load(AXSLFile);
      Result := IXMLDom.transformNode(IXSLDom)
    end;