Re: [xml] SAX + Namespaces
- From: Fabrice Desré - France Telecom R&D/DTL/TAL <fabrice desre francetelecom com>
- To: Robert Sanderson <azaroth liverpool ac uk>
- Cc: xml gnome org
- Subject: Re: [xml] SAX + Namespaces
- Date: Wed, 23 Jun 2004 13:58:58 +0200
Robert Sanderson wrote:
When I use the SAX interface, libxml2 ignores namespace definitions and
throws events like startElement('ns1:foo', {'xmlns:ns1' : 'bar'})
Is this expected? Is there a way to turn on namespace awareness in the SAX
interface?
Use SAX2 if you need namespace support :
http://xmlsoft.org/html/libxml-SAX2.html#xmlSAX2EndElementNs
Fabrice
--
Fabrice Desré
France Télécom R&D/DTL/TAL
Tél: +(33) (0)2 96 05 31 43
Fax: +(33) (0)2 96 05 39 45
http://www.francetelecom.com/rd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]