Quote:
Originally Posted by mhkay
Sorry, I haven't used XSLT 1.0 for about 8 years so you'll have to find someone else to help you with this.
|
One more request, I am using visual studio 2012 does it supports xslt 2.0/ if not it is ok .
I have one more question could you please let me know hour to group below nodes input from
1) first HL to second HL into
source
2) Second Hl to third HL into
payer
3) Thrid HL to fourth HL into subscriber
and
a)if EB node exist if it is followed by DTP then move DTP node as a child of EB node
b) Extract nodes from LS to LE put into child nodes
4) Fourth HL to till SE put into
Dependent
do the same as above 3)
Once I get into above structure I have written temple which will extract and keep into companies format of XML
<X12Transaction>(Root)
<ISA>
<GS>
<ST>
<BHT>
<HL>------1
<NM1>
<PER>
<HL> ----2
<NM1>
.......
.......
.....
<HL>----3
REF>
<N3>
<N4>
<EB>
<EB>
<DTP>
<LS>
<NM1>
<NM3>
< LE>
<HL> ----4
REF>
<N3>
<N4>
<EB>
<EB>
<DTP>
<SE>
<GE>
<IEA>
</X12Transaction>(Root)