in reply to How to remove elements with XML::LibXML
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to remove elements with XML::LibXML
by Maxim (Sexton) on Oct 10, 2004 at 09:50 UTC | |
by Corion (Patriarch) on Oct 10, 2004 at 09:58 UTC | |
by Maxim (Sexton) on Oct 10, 2004 at 19:44 UTC |