Are you sure that your XPath expression is matching? Is there any error message you are getting? I believe your XPath expression should be more like
/category/subcategory[@name = "Prestige"]
to find the correct subcategory. Try the ->as_string method to debug your queries.
In reply to Re: How to remove elements with XML::LibXML
by Corion
in thread How to remove elements with XML::LibXML
by Maxim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |