Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: parsing XML-like field

  1. #1

    Default 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?


  2. #2
    Join Date
    May 2006


    Can't think of better solution right now.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.