I am facing a problem in XML transformation. The XML tag hierarchy is as follows:
<Pick_Slips_Detail_Lines_S3>
<Header_Custom_Section_S15>
//This tag contains the header data (Example:Pick Slip Number)
</Header_Custom_Section_S15>
Then the Detail lines are printed.
</Pick_Slips_Detail_Lines_S3>
<Pick_Slips_Detail_Lines_S3>
The detail lines are printed. This detail line belongs to the previous Pick Slip Number.
</Pick_Slips_Detail_Lines_S3>
<Pick_Slips_Detail_Lines_S3>
The detail lines are printed. This detail line belongs to the previous Pick Slip Number.
</Pick_Slips_Detail_Lines_S3>
My requirement is to:
<PickSlipList>
<Pick_Slips_Detail_Lines_S3>
<Header_Custom_Section_S15>
//This tag contains the header data (Example:Pick Slip Number)
</Header_Custom_Section_S15>
Then the Detail lines are printed.
</Pick_Slips_Detail_Lines_S3>
<Pick_Slips_Detail_Lines_S3>
The detail lines are printed. This detail line belongs to the previous Pick Slip Number.
</Pick_Slips_Detail_Lines_S3>
<Pick_Slips_Detail_Lines_S3>
The detail lines are printed. This detail line belongs to the previous Pick Slip Number.
</Pick_Slips_Detail_Lines_S3>
</PickSlipList>
My requirement is to print the Pick Slip Number at every page on the header. Since there is no parent tag for <Pick_Slips_Detail_Lines_S3>
and <Header_Custom_Section_S15>
, I face the problem while printing.
I am trying to search something in XML transformation. But I don't know how to transform the XML tag hierarchy.