in reply to XML parsing trouble with id tags

Unrelated to the XML issue, I notice that you're setting paragraph mode by assigning the empty string to $/. Don't you want slurp mode, which reads everything at once? To get that, just say local $/ to make $/ undefined.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Replies are listed 'Best First'.
RE: Re: XML parsing trouble with id tags
by doran (Deacon) on Aug 02, 2000 at 21:26 UTC
    Oops, you're right. I was a bit too much in a hurry to illustrate my problem. In the real world, I'm reading in an external XML file.