Skip to Content
0
Feb 04, 2019 at 05:10 PM

Unable to read complex XML deep nested structure using Java / XSLT Mapping - SAP PI/PO

487 Views

Below is my sample source xml for Inbound ABAP Proxy Interface, and I am not able to read the value - Johnson Elementary School from below xml using my Java code or using XSLT mapping. I am able to read attributes though, but not the value passed inside tag <School> ie. Johnson Elementary School. Please suggest way to go, either Java or XSLT ?

Thanks.

Source File -

<School>

   <Student>

      <name>John</name>

       <age>15</age>

    </Student>

  JohnsonElementarySchool

</School>