Re: How to identify the namespace?

2002-06-20 Thread JC
This was what I needed! (The first part, not the second.) Thank you very much. At 05:54 PM 6/20/2002 +0200, you wrote: Hi, If you use SAX2, you'll see a startPrefixMapping( prefix, nsuri ) event before the startElement() event. Anyway, the startElement() event also passes the namespace URI to y

RE: How to identify the namespace?

2002-06-20 Thread JC
namespaces available, rather than just the one for the element?  You're looking for the default namespace, which should be stored somewhere ... - Naomi Dushay -Original Message- From: JC [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 4:35 PM To: [EMAIL PROTECTED] Subject: H

How to identify the namespace?

2002-06-19 Thread JC
Here is something that is bugging me... during the parsing of an RSS file, I need to be able to tell if it is a 0.9 RSS or a 1.0 RSS. Unlike RSS 0.91 and 0.92, there is no "version" attribute. Here is what I have to work with: http://my.netscape.com/rdf/simple/0.9/"; xmlns:rdf="http://www.w3.or