Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Parsing NOT well formed XML

  1. #1

    Default Parsing NOT well formed XML

    Hi

    Is there a way to parse broken XML-s where Xpath does not work using "Get data from XML" step?

    Te goal is to ignore everything else than is not between tags and have tagged elements as column names.
    Dateofbirth Title
    1975-01-01 Mr

    ----
    <InputData>
    <Individual>
    <Dateofbirth>1975-01-01</Dateofbirth>
    <Title>Mr</Title>
    <Firstname>Somename</Firstname>
    <Surname>sSomeothername</Surname>
    </Individual>
    <Errors/>
    </Results>
    ----

  2. #2
    Join Date
    Apr 2008
    Posts
    1,771

    Default

    You can try with the STAX step.
    -- Mick --

  3. #3
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Quote Originally Posted by JoyDivision View Post
    Te goal is to ignore everything else than is not between tags
    How is this related to your sample data?
    So long, and thanks for all the fish.

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.