I want to create a custom metadata column. Thanks to this forum I was able to accomplish this and it grabs the right value and all is good except...
I'm using the Mapper in a transformer and I map a variable to the ORC.2 segment. It brings in that variable but the variable also contains the xml wrapping. I only want the value and not
<obr><obr.2>NUMBER</obr.2></obr>
How do I just get the value? I could just add code to strip the tags but that seems like a waste of processing since all I want is the value contained in the field.
Thanks.
I'm using the Mapper in a transformer and I map a variable to the ORC.2 segment. It brings in that variable but the variable also contains the xml wrapping. I only want the value and not
<obr><obr.2>NUMBER</obr.2></obr>
How do I just get the value? I could just add code to strip the tags but that seems like a waste of processing since all I want is the value contained in the field.
Thanks.
Transformer Mapper variable wrapped in XML
0 commentaires:
Enregistrer un commentaire