in reply to Re: How do I perform a global substitute in an HTML::Element
in thread How do I perform a global substitute in an HTML::Element
This is in the context of code that is editing existing HTML to replace object elements with a chunk of script.
Option 1 simply won't work because many parameters need to be replaced with different values in different contexts.
Options 2 and 3 probably don't make sense in this context. XML::Twig would be great, but XHTML these pages are not!
Currently I'm doing it by navigating the structure, but that is rather fragile!
|
|---|