I would recommend storing each of your "dictionary" words in an associative array (hash), incrementing the value each time the word is found. Once all your XML files have been parsed, it is a simple matter to print each key and value from the hash.
In reply to Re: File comparisons and word count
by Akoya
in thread File comparisons and word count
by jcvivar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |