Skip to Content
0
Former Member
Feb 27, 2017 at 05:10 AM

How to pass values seperately in Java Mapping in SAX Parser

79 Views

We have File to Proxy scenario in which we have used Java mapping(SAX parser) to check file contents and validate the values. we are reading file details like Header(rootnode) field and reading fields which are under Header node, reading root field trailer as well as reading fields which are under trailer
I need to pass extra fields with values after trailer field as shown below in SAX Parser. Please help me and let me know how can i pass these extra fields along with values in SAP parser.

Here <Record> is root node and <Flag> & <desc> are fields inside rootnode.
<Record>
<Flag>Y<Flag>
<desc>Error<desc>
</Record>