home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _EC3935B66DAF4949A8C28BD2A3E7C4BB < prev    next >
Encoding:
Extensible Markup Language  |  2002-09-09  |  4.7 KB  |  182 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <structure version="2" schemafile="site.xsd" workingxmlfile="blocks.xml" templatexmlfile="blocks.xml">
  3.     <xmltablesupport standard="HTML"/>
  4.     <nspair prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance"/>
  5.     <textstateicon match="header" iconfile="header.bmp"/>
  6.     <textstateicon match="para" iconfile="para.bmp"/>
  7.     <template>
  8.         <match overwrittenxslmatch="/"/>
  9.         <children>
  10.             <table>
  11.                 <children>
  12.                     <tablebody>
  13.                         <children>
  14.                             <tablerow>
  15.                                 <children>
  16.                                     <tablecol>
  17.                                         <styles border-bottom-color="black" border-bottom-style="solid" border-bottom-width="thin"/>
  18.                                         <properties width="643"/>
  19.                                         <children>
  20.                                             <text fixtext="These are the "blocks" of the website.  They contain the chucks of content that are to populate the sections of the website.  Each xml file representing a webpage have the option of inserting these preformated parts, for the ability to change data on a site without editing each page individually."/>
  21.                                         </children>
  22.                                     </tablecol>
  23.                                 </children>
  24.                             </tablerow>
  25.                         </children>
  26.                     </tablebody>
  27.                 </children>
  28.             </table>
  29.             <template>
  30.                 <match match="blocks"/>
  31.                 <children>
  32.                     <template>
  33.                         <match match="block_instance"/>
  34.                         <children>
  35.                             <table dynamic="1">
  36.                                 <properties border="1"/>
  37.                                 <children>
  38.                                     <tableheader>
  39.                                         <children>
  40.                                             <tablerow>
  41.                                                 <children>
  42.                                                     <tablecol>
  43.                                                         <properties align="center" width="200"/>
  44.                                                         <children>
  45.                                                             <text fixtext="ID">
  46.                                                                 <styles font-weight="bold"/>
  47.                                                             </text>
  48.                                                         </children>
  49.                                                     </tablecol>
  50.                                                     <tablecol>
  51.                                                         <properties align="center" width="354"/>
  52.                                                         <children>
  53.                                                             <text fixtext="Page Fragment">
  54.                                                                 <styles font-weight="bold"/>
  55.                                                             </text>
  56.                                                         </children>
  57.                                                     </tablecol>
  58.                                                 </children>
  59.                                             </tablerow>
  60.                                         </children>
  61.                                     </tableheader>
  62.                                     <tablebody>
  63.                                         <children>
  64.                                             <tablerow>
  65.                                                 <children>
  66.                                                     <tablecol>
  67.                                                         <properties width="200"/>
  68.                                                         <children>
  69.                                                             <template>
  70.                                                                 <match match="id"/>
  71.                                                                 <children>
  72.                                                                     <xpath allchildren="1"/>
  73.                                                                 </children>
  74.                                                             </template>
  75.                                                         </children>
  76.                                                     </tablecol>
  77.                                                     <tablecol>
  78.                                                         <properties width="354"/>
  79.                                                         <children>
  80.                                                             <template>
  81.                                                                 <match match="pagefragment"/>
  82.                                                                 <children>
  83.                                                                     <xpath allchildren="1"/>
  84.                                                                 </children>
  85.                                                             </template>
  86.                                                         </children>
  87.                                                     </tablecol>
  88.                                                 </children>
  89.                                             </tablerow>
  90.                                         </children>
  91.                                     </tablebody>
  92.                                 </children>
  93.                             </table>
  94.                         </children>
  95.                     </template>
  96.                 </children>
  97.             </template>
  98.             <newline/>
  99.             <newline/>
  100.             <newline/>
  101.         </children>
  102.     </template>
  103.     <template>
  104.         <match match="br"/>
  105.         <children>
  106.             <newline/>
  107.         </children>
  108.     </template>
  109.     <template>
  110.         <styles font-size="large" font-style="italic" font-weight="bold"/>
  111.         <match match="header"/>
  112.         <children>
  113.             <xpath allchildren="1">
  114.                 <styles font-size="large" font-style="italic" font-weight="bold"/>
  115.             </xpath>
  116.         </children>
  117.     </template>
  118.     <template>
  119.         <styles font-style="italic"/>
  120.         <match match="id"/>
  121.         <children>
  122.             <xpath allchildren="1">
  123.                 <styles font-style="italic"/>
  124.             </xpath>
  125.         </children>
  126.     </template>
  127.     <template>
  128.         <match match="img"/>
  129.         <children>
  130.             <image>
  131.                 <properties border="0"/>
  132.                 <imagesource>
  133.                     <xpath value="@src"/>
  134.                 </imagesource>
  135.             </image>
  136.         </children>
  137.     </template>
  138.     <template>
  139.         <match match="list"/>
  140.         <children>
  141.             <template>
  142.                 <match match="listitem"/>
  143.                 <children>
  144.                     <list dynamic="1">
  145.                         <styles marginBottom="0" marginTop="0"/>
  146.                         <children>
  147.                             <listrow>
  148.                                 <children>
  149.                                     <xpath allchildren="1"/>
  150.                                 </children>
  151.                             </listrow>
  152.                         </children>
  153.                     </list>
  154.                 </children>
  155.             </template>
  156.         </children>
  157.     </template>
  158.     <template>
  159.         <match match="para"/>
  160.         <children>
  161.             <paragraph paragraphtag="p">
  162.                 <children>
  163.                     <xpath allchildren="1"/>
  164.                 </children>
  165.             </paragraph>
  166.         </children>
  167.     </template>
  168.     <template>
  169.         <match match="url"/>
  170.         <children>
  171.             <link>
  172.                 <hyperlink>
  173.                     <xpath value="."/>
  174.                 </hyperlink>
  175.                 <children>
  176.                     <xpath allchildren="1"/>
  177.                 </children>
  178.             </link>
  179.         </children>
  180.     </template>
  181. </structure>
  182.