Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XML SImple transform ignoring <tags>


I am attempting to read in a file using a Simple Transform that may contain certain blocks of data that I do not wish to process. Per my example, how does one go about ingnoring the data in <HB> while still reading in <HA> and <HC>. It has been my experience that if every single potential <tag> is not accounted for the program will short dump. I would prefer to not have to define tags for an entire XML STD, but rather only include those elements that I an required to capture. Thanks in advance.

<HA>

     <employee>

          <name>Bill</name>

          <date>01/01/2015</date>

     </employee>

     <employee>

          <name>Bob</name>

          <date>01/02/2015</date>

     </employee>

</HA>

<HB>

     <address>

          <state>AZ</state>

      </address>

     <address>

          <state>AR</state>

     </adress>

</HB>

<HC>

     <age>    

          <dob>12/25/1980</dob>

     </age>

     <age>

          </dob>07/04/1976</dob>

     </age>

</HC>

Tags:
Not what you were looking for? View more on this topic or Ask a question