Lets say i wanted to add a node copyVar on the desired output then get the value of ID from the target XML how can i do that in XSLT? Thanks for the help
target XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<customer_account_create>
<Customer>
<Name>Bam</Name>
<ID>1</ID>
<Lastname>Test01</Lastname>
<addr>Alabang</addr>
</Customer>
</customer_account_create>
desired output :
<?xml version="1.0" encoding="UTF-8"?>
<customer_account_create>
<Customer>
<ID>1</ID>
<Name>Bam</Name>
<Lastname>Testme</Lastname>
<addr>NY</addr>
[B][I]<copyVar>1</copyVar>[/I][/B]
</Customer>
</customer_account_create>