in reply to Replacing everything in between using s///;
#!/usr/bin/env xsh $file = open "myfile.xml"; insert comment "BOX1" replace //span[id="box1"]; save;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|