Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Sort xml nodes by schema

by tobyink (Canon)
on Sep 10, 2013 at 09:14 UTC ( #1053205=note: print w/replies, xml ) Need Help??

in reply to Sort xml nodes by schema

Stop using XML::Simple; it's not an appropriate module for your task - even the XML::Simple documentation tells you that.

In my experience, XML::LibXML is the best general-purpose XML module for Perl.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Replies are listed 'Best First'.
Re^2: Sort xml nodes by schema
by laozi (Novice) on Sep 10, 2013 at 10:05 UTC

    No problem i am moving!

    But, do you know how to sort elements according to schema using XML::LibXML ?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1053205]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2023-02-05 11:39 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (31 votes). Check out past polls.