in reply to Re: XML::Twig creating generic subroutine for attributes
in thread XML::Twig creating generic subroutine for attributes

I only learnt about XML::Twig a week ago, I don't really want to learn about another module so soon just for this subroutine duplication problem. I'll keep XML::Rules in mind for the future though.

Mirod, your solution worked when I changed twig_roots with twig_handlers and replaced my addAtt with your routine. Thanks very much.

  • Comment on Re^2: XML::Twig creating generic subroutine for attributes