BooksDefault.xtr
上传用户:fh681027
上传日期:2022-07-23
资源大小:1959k
文件大小:3k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. <XmlTransformation Version="1.0"><Transform Direction="ToCds" DataEncoding="UTF-8"><SelectEach dest="DATAPACKETROWDATAROW" from="books"><SelectEach dest="bookROWbook" from="book"><Select dest="@title" from="title"/><Select dest="@author" from="author"/></SelectEach><Select dest="@text" from="@text"/><SelectEach dest="ebookROWebook" from="ebook"><Select dest="@title" from="title"/><Select dest="@url" from="url"/><Select dest="@author" from="author"/></SelectEach></SelectEach></Transform><XmlSchema RootName="books"><![CDATA[<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  2.   <xs:element name="books" type="booksType"/>
  3.   <xs:complexType name="booksType">
  4.     <xs:sequence>
  5.       <xs:element name="book" type="bookType" minOccurs="0" maxOccurs="unbounded"/>
  6.       <xs:element name="ebook" type="ebookType" minOccurs="0" maxOccurs="unbounded"/>
  7.     </xs:sequence>
  8.     <xs:attribute name="text" type="xs:string"/>
  9.   </xs:complexType>
  10.   <xs:element name="book" type="bookType"/>
  11.   <xs:complexType name="bookType">
  12.     <xs:sequence>
  13.       <xs:element name="title" type="titleType"/>
  14.       <xs:element name="author" type="authorType"/>
  15.     </xs:sequence>
  16.   </xs:complexType>
  17.   <xs:element name="title" type="titleType"/>
  18.   <xs:simpleType name="titleType">
  19.     <xs:restriction base="xs:string"/>
  20.   </xs:simpleType>
  21.   <xs:element name="author" type="authorType"/>
  22.   <xs:simpleType name="authorType">
  23.     <xs:restriction base="xs:string"/>
  24.   </xs:simpleType>
  25.   <xs:element name="ebook" type="ebookType"/>
  26.   <xs:complexType name="ebookType">
  27.     <xs:sequence>
  28.       <xs:element name="title" type="titleType"/>
  29.       <xs:element name="url" type="urlType"/>
  30.       <xs:element name="author" type="authorType"/>
  31.     </xs:sequence>
  32.   </xs:complexType>
  33.   <xs:element name="title" type="titleType"/>
  34.   <xs:simpleType name="titleType">
  35.     <xs:restriction base="xs:string"/>
  36.   </xs:simpleType>
  37.   <xs:element name="url" type="urlType"/>
  38.   <xs:simpleType name="urlType">
  39.     <xs:restriction base="xs:string"/>
  40.   </xs:simpleType>
  41.   <xs:element name="author" type="authorType"/>
  42.   <xs:simpleType name="authorType">
  43.     <xs:restriction base="xs:string"/>
  44.   </xs:simpleType>
  45. </xs:schema>]]></XmlSchema><CdsSkeleton/><XslTransform/><Skeleton><![CDATA[<?xml version="1.0"?><DATAPACKET Version="2.0"><METADATA><FIELDS><FIELD attrname="text" fieldtype="string" WIDTH="5"/><FIELD attrname="book" fieldtype="nested"><FIELDS><FIELD attrname="title" fieldtype="string" WIDTH="27"/><FIELD attrname="author" fieldtype="string" WIDTH="6"/></FIELDS><PARAMS/></FIELD><FIELD attrname="ebook" fieldtype="nested"><FIELDS><FIELD attrname="title" fieldtype="string" WIDTH="27"/><FIELD attrname="url" fieldtype="string" WIDTH="25"/><FIELD attrname="author" fieldtype="string" WIDTH="6"/></FIELDS><PARAMS/></FIELD></FIELDS><PARAMS/></METADATA><ROWDATA/></DATAPACKET>
  46. ]]></Skeleton></XmlTransformation>