Originally posted by: SystemAdmin
I have a senario whrere I need to count no of characters present in a xml structure without Namespace characters.
<pc:Strd>
<pc:CdtrRefInf><pc:Tp><pc:CdOrPrtry><pc:Cd>SCOR</pc:Cd></pc:CdOrPrtry><pc:Issr>ISO</pc:Issr></pc:Tp><pc:Ref>RF1234567890123456</pc:Ref></pc:CdtrRefInf>
</pc:Strd>
In the above data I need to count the length of entire data. But while counting I need to excule the namespace like 'pc:' here.
I can do a SUBSTITUE("pc:","") for this purpose. But I am not sure that always 'pc:' will come as Namespace.
So is there any Function in WTX which I can use for replacing Namespaces?
#IBM-Websphere-Transformation-Extender#DataExchange#IBMSterlingTransformationExtender