Code for Reading XML from Informatica

Hello ,

Can any one provide a code which can take XML input and have the tags in a seperate file.?

Could you please post sample input file and desire output ?

Hi ,

I can't provide the xml file since its informatica xml. You can take any xml for reference and provide me the code.

Requirement is to provide the xml file name through a parameter

Then give us sample xml for reference and show us the output file(s) you want from that/those input file(s).

Hello ,

Please find sample xml file.

My input file name is "Books.xml".

My requirement is following:

1) I would place this file in some folder.Say some c:\users.
From this path my script should read this particular file . That means I would pass input file name as argument.

2) Once I pass the input file name to my script , this should create a file will all the tags present. IN this case only tag present is Book.
How ever , this book has various descriptions in it . I will check for few values like Author name .
Say if my author name contains "Tim" , the script should capture that in the log saying "Your code has TIM as Author" . ITs just an example

Please let me know in case you need any additinal information . Thanks for your help in advance.

Hello ,
Can any one provide me an update on this please.