marco83 Posted February 12, 2008 Share Posted February 12, 2008 Guestsuggestion with transformation XML to XMLHi,I have a problem with the translation from XML to XML. I would like to create a file output XML in witch I have some ugual node but with a sub-node that represented the identifier. I report an example: 1 2 [/code]I have some difficult in mapping the first file xml with this file because I can't create a metadata like this beacuse it don't permit the replication of the nodes. What can i do? Link to comment Share on other sites More sharing options...
mdahlman Posted February 16, 2008 Share Posted February 16, 2008 marco83, The attached job shows an example of mapping to a nested XML node. In this example the source is just 1, 2, 3, ... coming from tRowGenerator. But the same ideas should apply for your XML source. I hadn't worked with XML files before. Thanks to Parham from Talend who provided the sample! Regards, Matt JasperSoft [file name=SimpleXML.zip size=3255] Link to comment Share on other sites More sharing options...
marco83 Posted February 18, 2008 Author Share Posted February 18, 2008 perfect! It's very useful.The unique problem is that I don't use sequential ID but the ID is a specific number of 3 cipher.How can I specify their values? Link to comment Share on other sites More sharing options...
mdahlman Posted February 26, 2008 Share Posted February 26, 2008 I don't understand your phrase "a specific number of 3 cipher". Could you start a separate thread and provide more details and/or a sample of the source and the transformed data? Regards,Matt Link to comment Share on other sites More sharing options...
marco83 Posted February 27, 2008 Author Share Posted February 27, 2008 Thanks for the reply.This is an example of the situation: 124 209 [/code]where 124 and 209 are fixed number that identified a specific node and they are always present. Regards, Marco Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now