Hello Monks,
I have a tag like <img src="path of image"/> in a xml document. I want to change the name of the attribute using XML::Twig.
I tried like the following:-
for $item ($twig->get_xpath("//img")) { $item->change_att_name('src', 'links') }
But I didn't get result. pls help me
thanks
Aakikce
In reply to change attribute name using XML::Twig by aakikce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |