Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use the node set expres like child,following,sibling in XSLT

878078Oct 6 2011 — edited Feb 26 2020
Hi All,
I am having the following XSD structure i need to process the data depending on the record type selection of old&new account in transformation.
<DDAchnages>
<Old record>
<rec_type>
<data>
</Old record>
<New record>
<rec_type>
<data>
</New record>
</DDAchnages>


i tried to use the following code in XSLT but its not working.

<xsl:for-each select="/tns:DAChanges/child::*">
<xsl:if test="tns:recType='6' and following-sibling::*[1]/tns:recType='7' "> then
<xsl:variable name="NewAccount" select="following-sibling::*[1]"/>

Please help me out in this regard



Regards,
Anu.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2011
Added on Oct 6 2011
0 comments
179 views