<?xml version="1.0" encoding="UTF-8"?>
<net.sf:ProjectNode xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:net.sf="http://jetset.sf.net" name="Document Root" sourceMetaModel="platform:/resource/JetsetTutorial/PurchaseOrder.xsd" sourceRootClass="org.example.po.DocumentRoot" targetMetaModel="platform:/resource/JetsetTutorial/SimpleDoc.xsd" outputProjectName="PurchaseOrderToSimpleDocTransformator" mainClassName="PurchaseOrderToSimpleDocTransformator">
  <children xsi:type="net.sf:IterationNode" name="Purchase Order" iterationReference="purchaseOrder">
    <children xsi:type="net.sf:FileNode" name="Purchase Report" outputFileName="PO_&lt;%=getValue(&quot;orderDate&quot;)%>.xml">
      <children xsi:type="net.sf:XmlNode" name="Simple Doc" targetElement="org.example.simpledoc.SimpleDoc">
        <children xsi:type="net.sf:XmlNode" name="Header Paragraph" targetElement="org.example.simpledoc.SimpleDoc.object (Paragraph)">
          <xmlAttributes name="title" value="Purchase Report"/>
          <xmlAttributes name="text" value="Date: &lt;%=getValue(&quot;orderDate&quot;)%>"/>
        </children>
        <children xsi:type="net.sf:IterationNode" name="Ship To" iterationReference="shipTo">
          <children xsi:type="net.sf:XmlNode" name="Ship To Paragraph" targetElement="org.example.simpledoc.SimpleDoc.object (Paragraph)">
            <xmlAttributes name="title" value="Ship To: "/>
            <xmlAttributes name="text" value="&lt;%=getValue(&quot;name&quot;)%>, &lt;%=getValue(&quot;street&quot;)%>, &lt;%=getValue(&quot;postalCode&quot;)%>, &lt;%=getValue(&quot;city&quot;)%>, &lt;%=getValue(&quot;country&quot;)%>"/>
          </children>
        </children>
        <children xsi:type="net.sf:IterationNode" name="Bill To" iterationReference="billTo">
          <children xsi:type="net.sf:XmlNode" name="Bill To Paragraph" targetElement="org.example.simpledoc.SimpleDoc.object (Paragraph)">
            <xmlAttributes name="title" value="Bill To: "/>
            <xmlAttributes name="text" value="&lt;%=getValue(&quot;name&quot;)%>, &lt;%=getValue(&quot;street&quot;)%>, &lt;%=getValue(&quot;postalCode&quot;)%>, &lt;%=getValue(&quot;city&quot;)%>, &lt;%=getValue(&quot;country&quot;)%>"/>
          </children>
        </children>
        <children xsi:type="net.sf:XmlNode" name="Items Table" targetElement="org.example.simpledoc.SimpleDoc.object (Table)">
          <children xsi:type="net.sf:XmlNode" name="Header Row" targetElement="org.example.simpledoc.Table.row (Row)">
            <children xsi:type="net.sf:XmlNode" name="Ship Date Header" targetElement="org.example.simpledoc.Row.cell (Cell)">
              <xmlAttributes name="content" value="Ship Date"/>
            </children>
            <children xsi:type="net.sf:XmlNode" name="Part No Header" targetElement="org.example.simpledoc.Row.cell (Cell)">
              <xmlAttributes name="content" value="Part No."/>
            </children>
            <children xsi:type="net.sf:XmlNode" name="Product Name Header" targetElement="org.example.simpledoc.Row.cell (Cell)">
              <xmlAttributes name="content" value="Product Name"/>
            </children>
            <children xsi:type="net.sf:XmlNode" name="Unit Price Header" targetElement="org.example.simpledoc.Row.cell (Cell)">
              <xmlAttributes name="content" value="Unit Price"/>
            </children>
            <children xsi:type="net.sf:XmlNode" name="Quantity Header" targetElement="org.example.simpledoc.Row.cell (Cell)">
              <xmlAttributes name="content" value="Quantity"/>
            </children>
            <children xsi:type="net.sf:XmlNode" name="Total Price Header" targetElement="org.example.simpledoc.Row.cell (Cell)">
              <xmlAttributes name="content" value="Total Price"/>
            </children>
          </children>
          <children xsi:type="net.sf:IterationNode" name="Items" iterationReference="items" sortCriteria="&lt;%=getValue(&quot;shipDate&quot;)%>">
            <children xsi:type="net.sf:XmlNode" name="Item Row" targetElement="org.example.simpledoc.Table.row (Row)">
              <children xsi:type="net.sf:XmlNode" name="Ship Date" targetElement="org.example.simpledoc.Row.cell (Cell)">
                <xmlAttributes name="content" value="&lt;%=getValue(&quot;shipDate&quot;)%>"/>
              </children>
              <children xsi:type="net.sf:XmlNode" name="Part No" targetElement="org.example.simpledoc.Row.cell (Cell)">
                <xmlAttributes name="content" value="&lt;%=getValue(&quot;partNum&quot;)%>&lt;%=getValue(&quot;partNum&quot;)%>"/>
              </children>
              <children xsi:type="net.sf:XmlNode" name="Product Name" targetElement="org.example.simpledoc.Row.cell (Cell)">
                <xmlAttributes name="content" value="&lt;%=getValue(&quot;productName&quot;)%>"/>
              </children>
              <children xsi:type="net.sf:XmlNode" name="Unit Price" targetElement="org.example.simpledoc.Row.cell (Cell)">
                <xmlAttributes name="content" value="&lt;%=getValue(&quot;price&quot;)%>"/>
              </children>
              <children xsi:type="net.sf:XmlNode" name="Quantity" targetElement="org.example.simpledoc.Row.cell (Cell)">
                <xmlAttributes name="content" value="&lt;%=getValue(&quot;quantity&quot;)%>"/>
              </children>
              <children xsi:type="net.sf:XmlNode" name="Total Price" targetElement="org.example.simpledoc.Row.cell (Cell)">
                <xmlAttributes name="content" value="&lt;%=Integer.parseInt( getValue(&quot;quantity&quot;) ) * Double.parseDouble( getValue(&quot;price&quot;) )%>"/>
              </children>
            </children>
          </children>
        </children>
      </children>
    </children>
  </children>
</net.sf:ProjectNode>
