Greetings,
Can XML Factoring perform the following operation summarized in the code examples shown below:
Example #1 - Before XML Factoring Operation:
Code: Select all
<procurementData>
<enterpriseRef>00NS2</enterpriseRef>
</procurementData>
Example #2 - After XML Factoring Operation:
Code: Select all
<procurementData>
<enterpriseRef manufacturerCodeValue="00NS2"></enterpriseRef>
</procurementData>
In Example #1 the element content shown as "00NS2" needs to move out of where it is located and take the place of the value for the attribute named "manufacturerCodeValue" as shown in Example #2. The "manufacturerCodeValue" attribute needs to be created before this move takes place. Additionally, the content in the <enterpriseRef> element has no set quantity of characters. It can be 3, 5, 8, 11 characters that need to be moved over to the "manufacturerCodeValue" attribute value location. In other words, X amount of numbers and digits need to be moved over to the value location of the "manufacturerCodeValue" attribute. Is such an operation possible?