in reply to Pasing an XML file to generate a certain output.
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.
|
|---|