Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Get XML Data - Return Data from Multiple Files/ XML documents at once?

  1. #1
    Join Date
    Sep 2014

    Default Get XML Data - Return Data from Multiple Files/ XML documents at once?

    EDIT: Actually I seemed to get it working --

    My error must be somewhere else down the line --- not sure how to delete posts ...


    Hi there--

    I need to grab the same two elements (start_time, end_time) from a number of XML documents that are each named/ generated based on the date.

    So there's a document localhost:8080/schedule/2014-09-22.xml
    and localhost:8080/schedule/2014-09-23.xml
    and localhost:8080/schedule/2014-09-24.xml

    I can set up the XPath and Fields no problem for one document (say, one date above).

    I can also add multiple filenames under selected files.

    However, the output field of 'Get XML Data' seems to only run the XPath/ Field query from the first document.

    Perhaps pulling the same data from multiple XML files like this isn't a functionality of 'Get XML Data' --- but then, why is there an option to select multiple files and add them under File/ Directory?

    Otherwise I guess I can set up 7 steps instead of 1, to pull data from the past 7 days, but if I could condense it into this one, that would be great.
    Last edited by cool_runnings; 09-30-2014 at 04:08 PM.

  2. #2
    Join Date
    Jun 2012


    Actually, it's a bad move to delete something from a forum.
    If you learn something, why not just share it?
    So long, and thanks for all the fish.

Tags for this Thread

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.