|Welcome to the Monastery|
help need when processing xml using perlby veerubiji (Sexton)
|on Nov 27, 2011 at 15:55 UTC||Need Help??|
veerubiji has asked for the
wisdom of the Perl Monks concerning the following question:
Hi monks, I have one string with xml data,I am processing that sting using XML::Simple module and template toolkit process. By using PDF latex I am converting it into pdf. But my problem is I have some repeated information in XML format.so its also repeating in pdf.How to remove this information.My data look like this.
In the above xml file name johan repeated in two nodes and in frist node He having the address details, In the repeated node he having some other details but I need only nodes that contain address information . If any nodes don't have address nodes then remove entire node information.I am new to perl language how to find the nodes that don't have address information and how to delete that node. please help me.
Some body suggested XML::simple automatically deletes repeated information with some specific configuration but I cant found in that module.
please help me i am working from last 10 days on this task but I am unable to remove such information, Any help appreciated.
I am processing like that
any help appreciated
Thanks in advance