xmlfiledata is a subroutine that sets up xpath to the file in question it takes as arguments $path $file and $caller<mlx> <link tab="Support" view="Search" title="Search"> <description>Search our Help Articles</description> <header>0</header> </link> <link tab="support" view="someotherview" title="next view"> <description>example description</description> <header>0</header> </link> </mlx> i was thinking I could do like this but its not working. my $xml = xmlFileData("Content", "mlx.xml", "mLeftIndex()"); $xml =~ s/(<\/leftIndex>)/$logoutLink$1/s; $xml="<\/leftIndex>"; $str .= $xml; last SWITCH; } }
In reply to output xml file by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |