here $OutXml will get above xml as string if there is no problem or exception thrown by myexe.exee.g. xml is <book> <Name></name> <author></author> </book> <br> My script code is $output = '<?xml version="1.0" encoding="ISO-8859-1"?>'; my $OutXml=`myexe.exe $book`; $output.=$OutXml;
In reply to check string is xml or not by ashwani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |