Your code as it stands reads from STDIN. If it "just seems to hang" it is possible that you are not feeding it the data on STDIN. In that case, either send it the data via STDIN or amend your code to read from a file or URL or some other channel instead.
In reply to Re: Parsing an XML file to generate a certain output.
by hippo
in thread Pasing an XML file to generate a certain output.
by Saner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |