Hi experts,
I have this kind of file :
<Msg>
<Body>
<Payload Role="S">
<Msg>
<Body>
<Payload Role="S">
<BOM>
<BO>
<Documents>
<DocEntry>123<Docentry/>
...........
</Documents>
</BO>
</BOM>
</Payload>
</Body>
</Msg>
</Payload>
</bODY>
</mSG>
I would like to get the value of DocEntry in my <xsl:value of select=""/> but I don't know what is the correct syntaxe to use with the payload S.
Can you help me please?
Thanks
Best regards
Sarah
Hello Sarah,
Try this Msg/Body/Payload[@Role='S']/Msg/Body/Payload[@Role='S']/BOM/BO/Documents/DocEntry, if this xml came from an atom, try $msg//Msg/Body/Payload[@Role='S']/BOM/BO/Documents/DocEntry.
Regards,
Leo.
Add a comment