Conditional Sections

Conditional sections appear in the XML output as children of the section from which they are called.

This is an example of conditional sections that are included in the XML output for a batch version of the Purchase Order Print report:

- <Purchase_Order_Print_S42_Group>
   - <On_Ship_To_S45> 
      <PageHeaderNumber1</PageHeaderNumber> 
      <DocumentOrderInvoiceE_ID135>Order Number</DocumentOrderInvoiceE_ID135> 
      <OrderSuffix_ID140>000</OrderSuffix_ID140>
      <OrderType_ID138>OD</OrderType_ID138>
      <DocumentOrderInvoiceE_ID136>1</DocumentOrderInvoiceE_ID136>
      <Order_Revision_Notes_S65/> 
+ <On_Order_Suffix_S58> 
      <Total_Order__ID12>Total Order</Total_Order__ID12>
      <Order_Extended_Price_ID13>969.10</Order_Extended_Price_ID13>
   - <Taxes_S49> 
      <PageHeaderNumber1</PageHeaderNumber> 
      <Tax_Group_Summary_ID2>Tax Group Summary</Tax_Group_Summary_ID2> 
      <DescriptionTaxArea_ID3>CA</DescriptionTaxArea_ID3>
      <Tax_Rate_1_ID4>10.5000</Tax_Rate_1_ID4>
      <__ID5>%</__ID5>
      <Taxable_Amount_ID9>969.10</Taxable_Amount_ID9>
      <Tax_Amount_ID11>101.76</Tax_Amount_ID11>
  </Taxes_S49> 
   + <Grand_Total_S50> 
   + <Buyer_S51> 
   </On_Ship_To_S45> 

The <Taxes_S49> node is a conditional section called by the level break footer section. The <Grand_Total_S50> and <Buyer_S51> nodes are also conditional sections called by the level break footer section.