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!

adding empty element tags in xsl

726478Apr 27 2011 — edited Feb 26 2020
Hi,

I have two schemas A.xsd and B.xsd. A.xsd has 2 values <name>,<number> of which <name> may come or may not come in input payload.

My B.xsd has 3 fields <empName><empNumber><status> and I need to transform A to B in xsl in following manner.
A.<name> -> B.<empName> and A.<number> -> B.<empNumber>.

Issue is even if <name> is not coming, my target variable of type B must have value like <empName></empName> in it.

Any pointers regarding doing the same in xslt is of much help.
This post has been answered by - AR on Apr 28 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2011
Added on Apr 27 2011
2 comments
466 views