parsing XML-like field
I have a text field in my source that looks something like:
I'm parsing the data (iVal1, iVal2 and sVal3) and putting them in fields f1, f2 and f3.
The number of fields and sequence is constant so I can parse the string using a js 'split' on "><" and then trimming off the undesired from the resultant array members.
Is there a better (more elegant and/or efficient) way to do this?
Can't think of better solution right now.