data  packet  类型的XML文件?
clientdataset.XMLData不就是符合XML标准的文本吗?

解决方案 »

  1.   

    我是要把clientdataset生成的xml在xmldocument中解析出来,但是clientdataset生成的xml是 data  packet  类型的XML文件,不象一般的xml文件可以解析的....急啊,请高手救命啊...
      

  2.   

    trTemp := TXMLTransform.Create(self);
      trTemp.TransformationFile := 'd:\ToXml.xtr';
      memo1.Text := trTemp.TransformXML(datamodule2.cdsCust.XmlData);
      trTemp.Free;
    文件'd:\ToXml.xtr'是用XML MAPPER生成
      

  3.   

    我就是不想用XML  MAPPER生成\ToXml.xtr',想在程序里生成,有没有办法???急啊
      

  4.   

    A transformation is a special type of XML document that defines the mapping between the nodes of a source document and a destination document and the structure of the destination document. Each transformation is specific to a particular XML schema and data packet format and represents a one-way transformation. Use the xmlmapper.exe utility to create transformations.
    我想DELPHI中是没有提供这种办法。