in reply to set attributes to an element in user defined order

The attribute order has no meaning in XML and I doubt there is a way to instruct XML::Twig to output them in a specific order.

Jenda
Enoch was right!
Enjoy the last years of Rome.

  • Comment on Re: set attributes to an element in user defined order

Replies are listed 'Best First'.
Re^2: set attributes to an element in user defined order
by ambrus (Abbot) on Mar 03, 2010 at 14:12 UTC

    You've fallen into a trap. Read the post again. It tries to use the keep_atts_order option of XML::Twig, and the whole purpose of that option is to be able to output the attributes in a particular order.