Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: XML Output step generates single output file

  1. #1
    Join Date
    Feb 2008
    Posts
    6

    Default XML Output step generates single output file

    Hi all,

    I want to run a simple transformation as following:

    1. Use "Get data from XML" step and provide a directory and regex (to read xml files).
    2. do some processing on xml field values.
    3. Use "XML Output" step to persist it to another directory.

    For the 3rd step, I want to provide just a directory name in "Filename" field under "File" tab of "XML Output" step and I wanted the file names to be same as the input file. Instead, "XML Output" step is just writing all the processed xml data to a single file with auto generated name.

    Is there a way to get the output files (in the directory specified in Filename field) having same name as input files?

  2. #2
    Join Date
    Feb 2008
    Posts
    6

    Default

    finally, I was able to do it, but only after modifying the java code for the step.

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.