I wrote a this morning trying to read b/w xml tags. However, i am having a little problem. The specified tags I want to read is been picked up but the content of the tag is not been read. Can any monk kindly help me solve this problem?
Thanksif (open(DBASE, $path."database.txt")) { while(<DBASE>) { chomp; if ($_ =~ /\.xml/) { if (open(XFILE, $_)) { while (<XFILE>) { chomp; if ($_ =~ /\<name\>|\<\/name\>/) { print (LIST "$_\n"); } } } } } }
In reply to Reading B/w Tags by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |