Community articleA Sample Hierarchy
Added by IBM contributorIBM on May 2, 2012
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

No abstract provided.



The following XFDL code creates the node hierarchy shown in Figure 1. The result is a simple form that contains three items (a line and two labels).
   <?xml version = "1.0"?>
   <XFDL xmlns="http://www.ibm.com/xmlns/prod/XFDL/7.5"
      xmlns:xfdl="http://www.ibm.com/xmlns/prod/XFDL/7.5">
      <globalpage sid="global">
         <global sid="global"></global>
      </globalpage>
      <page sid = "PAGE1">
         <global sid="global"></global>
         <line sid = "REFLINE">
            <size>
               <width>20</width>
               <height>0</height>
            </size>
         </line>
         <label sid = "LABEL1">
            <value>Hello</value>
         </label>
         <label sid = "LABEL2">
            <value>World</value>
            <itemlocation>
               <after>LABEL1</ae>
               <expandr2r>REFLINE</expandr2r>
            </itemlocation>
         </label>
      </page>
   </XFDL>