Data Stitch Assign operation for Elements with Attributes by Jorge Herreria
November 5, 2020 Leave a comment
Overview
You might noticed some times Data Stitch ASSIGN will volunteer or remove attributes from the targeted element… On this post I explain the behavior of ASSIGN operation for elements that have attributes and give some ideas for manage it.
There’s heavy XML, XSD, XPath lingo in this post. I’ll try to explain the lingo w/o going deep into it. I use the lingo with the intent that in case you search over the internet, you get more accurate hits 😉
Expect twisted humor and a two way conversation. A quote I like: "What if it works?" ~ me
For those in a hurry
If ASSIGN is copying the attributes along with the value of the element and you do not want the attributes, the use text() function. If ASSIGN is removing the existing attributes in the TO element, then you need to save off the attributes and then reassign them back.
Syntax used in this post
(TO XPath Expression).OPERATION(FROM XPath Expression)
Example: Read the complete article here.
For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.
Blog
Twitter
LinkedIn
Facebook
Wiki
Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress