[Expat-discuss] extracting attributes

Fred L. Drake, Jr. fdrake at acm.org
Mon Apr 12 17:29:16 EDT 2004


On Monday 12 April 2004 05:23 pm, terrasurfer at knology.net wrote:
 > I'm having trouble extracting attributes when parsing XML using
 > expat. I used XML_SetAttlistDeclHandler() to define a handler
 > for attributes. But the function I defined in
 > XML_SetAttlistDeclHandler() doesn't ever run!

Attribute information is passed to the start-element handler.  The 
AttlistDeclHandler is only for attribute declarations in the DTD.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation




More information about the Expat-discuss mailing list