Hi Maximilian, This can be done with a combination of the Add XML [1] and XML Join [2]. There is an XML Output [3] transform, but that's probably too limited for what you want to do.
Unfortunately, we don't have any samples for these XML transforms (yet), but there is an integration test for XML Join [4] that you could take a look at. [1] https://hop.apache.org//manual/latest/pipeline/transforms/addxml.html [2] https://hop.apache.org//manual/latest/pipeline/transforms/xmljoin.html [3] https://hop.apache.org//manual/latest/pipeline/transforms/xmloutput.html [4] https://github.com/apache/hop/blob/master/integration-tests/xml/0001-xml-join-test.hpl Regards, Bart On Thu, Sep 21, 2023 at 5:48 PM Maximilian Leitschuh < [email protected]> wrote: > Hello, > > > > Is it possible within Apache Hop to create XML documents in which you map > different hierarchies? Like it is possible with json documents with the > "Enhanced JSON Output" transformation. So that, for example, you have a > hierarchy within the XML document that shows the workers of a company > divided according to department. > > > > I have managed to do this with json. How does it work with xml, if it > works? > > > > Thanks for an answer! > > > > Many greetings > > > > Maximilian > > > HINWEIS: Dies ist eine vertrauliche Nachricht und nur für den Adressaten > bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten > zugänglich zu machen. Sollten Sie diese Nachricht irrtümlich erhalten > haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben > angegebenen Telefonnummer. >
