Pentaho

 View Only

 How to transform the text file into xml file in kTR

  • Pentaho
  • Kettle
  • Pentaho
  • Pentaho Data Integration PDI
archana garikapati's profile image
archana garikapati posted 06-12-2019 21:22
  1. How to transform the below text file into xml file in kTR

    <?xml version="1.0" encoding="UTF-8"?>

    <Document xmlns="urn:iso:std:iso:20022:tech:xsd:auth.072.001.01"> <hello> <greeting> hello </greating> <student></student> <teacher></teacher> </hello></Document

    Tried using xml output but it doesn't work.


#PentahoDataIntegrationPDI
#Kettle
#Pentaho
archana garikapati's profile image
archana garikapati

pastedimage_1pastedimage_2

David da Guia Carvalho's profile image
David da Guia Carvalho

Thats already XML!

Now, you can either parse XML (xml input) to a table mode in the stream and then use a  "XML output" step. Thas weird but possible!

Or just pass the original tabular data to a "XML output" step.

Or just use pentaho (job) to transfer the xml to wherever you want!