Sample XML Template for Body Text

The prepareBodyPlainText method in emxSubscriptionUtil expects an xmlString as input. You can use this code as a template to construct your own XML input.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="emxCreatePage.xsl" type="text/xsl"?>
<aef:mxRoot xmlns:aef="http://www.matrixone.com/aef">
  <aef:headerData>
     <aef:header>Some Header</aef:header>
     <aef:creatorText>Some Header</aef:creatorText>
  </aef:headerData>
  <aef:bodyData>
     <aef:sections>
          <aef:section>
               <aef:sectionHeader>section header</aef:sectionHeader>
               <aef:fields>
                  <aef:field>
                     <aef:label>field name</aef:label>
                     <aef:value>field value</aef:value>
                  </aef:field>
               </aef:fields>
          </aef:section>
          <aef:section>
               <aef:sectionHeader>section header</aef:sectionHeader>
               <aef:fields>
                  <aef:field>
                     <aef:label>field name</aef:label>
                     <aef:value>field value</aef:value>
                  </aef:field>
               </aef:fields>
          </aef:section>
          <aef:section>
               <aef:sectionHeader>section header</aef:sectionHeader>
               <aef:fields>
                  <aef:field>
                     <aef:label>field name</aef:label>
                     <aef:value>field value</aef:value>
                     <aef:oldValue>field's old Value </aef:oldValue>
                  </aef:field>
               </aef:fields>
          </aef:section>
     </aef:sections>
  </aef:bodyData>
  <aef:footerData>
     <aef:dataLines>
          <aef:dataLine>Text to display in the footer</aef:dataLine>
          <aef:dataLine>Text to display in the footer</aef:dataLine>
          <aef:dataLine>Text to display in the footer</aef:dataLine>
     </aef:dataLines>
     <aef:signature>Signature text</aef:signature>
  </aef:footerData>
</aef:mxRoot>