Hi,
Suppose there is an xml with the following format:
<people>
<name1>
<address1>abc </address1>
<city1>abc</city1>
</name1>
<name2>
<address2>abc </address2>
<city2>abc</city2>
</name2>
</people>
and I want to use the twig parser...
User Profile
Collapse
-
Problems using XML::Twig
-
Hi,
Thanks for the reply. Renaming the attributes is only one of small issues. The tags should also come in an ordered manner.
One way of achieving this is to create an array with tag names. Parsing through the array we can arrange the tags in an XML file. But this takes hours together especially if the file is huge.
XSLT seemed to be answer to me. Here we can define the order of tags, case-sensitivity... -
Ordering of Elements in XML using Perl
Hi,
I have an XML with lots of unordered tags. Some of the attributes in XML require to be renamed. I have tried using XML::XSLT. Although I am able to generate the desired output, it takes a lot of time. Another problem is that the program gets stuck if XML is huge. Is any other way to generate the desired XML in Perl.
Thanks in advance...... -
Ordering of Elements in XML using Perl
Hi,
I have an XML with lots of unordered tags. Some of the attributes in XML require to be renamed. I have tried using XML::XSLT. Although I am able to generate the desired output, it takes a lot of time. Another problem is that the program gets stuck if XML is huge. Is any other way to generate the desired XML in Perl.
Thanks in advance......
No activity results to display
Show More
Leave a comment: