Hi monks
Im working on converting a text file to xml. We have an element in which the content is splitted by tab space.
Example:
INPUT: <ext> abc <abc><p>ahgkslkjs</p> <p>hai</p></abc> abc <abc><p>ahgkslkjs</p></abc> </ext> OUTPUT: <ext> <first>abc</first><second><abc><p>ahgkslkjs</p> <p>hai</p></abc></second> <first>abc</first><second><abc><p>ahgkslkjs</p></abc> </second></ext>
Im using XML::TWIG for this conversion. In that i have used subs_text method but its not working for me.
I want to know how to approach this.
Many thanks in advance.
----Murugesan----
In reply to XML::Twig tag conversion by murugu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |