Hi All, I am trying to convert xml strings into CDTs using torecord() function. I am able to capture subelements of the XML but not the attributes. for Example ,<customerDetails attr1="SomeAttribute" attr2="SomeotherAttribute"> <firstName>FN</firstName> <lastName>LN<lastName></customerDetails>In the Above example, using torecord() funciton ,I am able to captutre firstName and Lastname but not the attributes(attr1 and attr2) .I can use xpathsnippet() function to get the attributes but in my use case i have 60-70 attributes and I dont want to use xpathsnipet() to get each and every attribute. Is there any other way to capture the attributes too using torecord() function.Thanks IN advance.
OriginalPostID-187962
Discussion posts and replies are publicly visible
Employee.XSD