It is cleaner to use the proper method instead of relying on the implementation of the object: $data->att( 'draw:name').
This way if I ever decide to change the implementation, your code won't break. Not that it is likely at this point, but hey, you never know, there is no promise in the documentation that the attributes be stored in the att field.
In reply to Re^3: XML::Twig and oodraw
by mirod
in thread XML::Twig and oodraw
by carcassonne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |