This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id:
85569
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
MIROD [...] cpan.org
Requestors:
DJIBEL [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Wishlist
Broken in:
3.44
Fixed in:
(no value)



Subject: Rename an attribut
Dear, The set_name method allows to rename a tag. The set_att method does not rename an attribute, just create an attribute without value or not. It is possible to create a new method which allow to do that. For example : rename_att ? Why ? Because, for the moment, I have to : - store the content of attribute ; - to delete it ; - to create the new attribute with the value ; - sometime, re-encode the value. Best Regards, Djibel
On Thu May 23 04:27:22 2013, DJIBEL wrote:
Show quoted text
> The set_name method allows to rename a tag. The set_att method does > not rename an attribute, just create an attribute without value or > not. > It is possible to create a new method which allow to do that. For > example : rename_att ?
It's there, it's called change_att_name http://xmltwig.org/xmltwig/twig_dev.html#METHODS_XML_Twig_Elt_change_att_name __ mirod


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.