in reply to XML::XPath
I'm working on getting my head around it enough to write an upcoming magazine article or two.open mydoc="thedoc.xml" cd //filename/.. rm filename foreach { glob("*") } { insert element filename into . insert text $__ into filename[last()] } save mydoc
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|