in reply to XML::Parser question.

BTW, you don't need to do the namespace processing yourself, you can use the namespace-related methods on the XML::Parser::Expat object described in the doc for that module (perldoc XML::Parser::Expat).

For example:

namespace(name)
           Return the URI of the namespace that the name belongs to. 
           ...

I would think using SAX is probably the best way to go though, you probably had a similar error in your initial code, reading the file name instead of the file.

Replies are listed 'Best First'.
Re: Re: XML::Parser question.
by reyjrar (Hermit) on Nov 04, 2002 at 19:36 UTC
    Thanks to everyone who pointed that out. Yes, I had a few of those parse vs parsefile erros, but they weren't the only ones. I'm learning how to do debug the code better now.. I just need something good to happen with this code. Now I have the XML::Parser stuff working, I'm gonna debug the XML::SAX::Machines Implementation I have sitting there looking pretty but not working..

    I apologize for the dumb question, and for future dumb questions that I'll likely ask.


    -brad..