⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 booksdefaulttoxml.xtr

📁 Delphi7从入门到精通及附书源码 Delphi7从入门到精通及附书源码
💻 XTR
字号:
<XmlTransformation Version="1.0"><Transform Direction="ToXml" DataEncoding="UTF-8"><SelectEach from="DATAPACKET\ROWDATA\ROW" dest="\books"><SelectEach from="book\ROWbook" dest="\book"><Select from="@title" dest="\title"/><Select from="@author" dest="\author"/></SelectEach><Select from="@text" dest="@text"/><SelectEach from="ebook\ROWebook" dest="\ebook"><Select from="@title" dest="\title"/><Select from="@url" dest="\url"/><Select from="@author" dest="\author"/></SelectEach></SelectEach></Transform><XmlSchema RootName="books"><![CDATA[<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="title" type="titleType"/>
  <xs:simpleType name="titleType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="author" type="authorType"/>
  <xs:simpleType name="authorType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="book" type="bookType"/>
  <xs:complexType name="bookType">
    <xs:sequence>
      <xs:element name="title" type="titleType"/>
      <xs:element name="author" type="authorType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="url" type="urlType"/>
  <xs:simpleType name="urlType">
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
  <xs:element name="ebook" type="ebookType"/>
  <xs:complexType name="ebookType">
    <xs:sequence>
      <xs:element name="title" type="titleType"/>
      <xs:element name="url" type="urlType"/>
      <xs:element name="author" type="authorType"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="books" type="booksType"/>
  <xs:complexType name="booksType">
    <xs:sequence>
      <xs:element name="book" type="bookType" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="ebook" type="ebookType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="text" type="xs:string"/>
  </xs:complexType>
</xs:schema>]]></XmlSchema><CdsSkeleton><![CDATA[<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>
]]></CdsSkeleton><XslTransform/><Skeleton><![CDATA[<?xml version="1.0"?>
<books text="abc"><book><title></title><author></author></book><ebook><title></title><url></url><author></author></ebook></books>
]]></Skeleton></XmlTransformation>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -