[XML-SIG] managing ID attributes in an XML document

Uche Ogbuji uche.ogbuji at fourthought.com
Sat Oct 23 20:10:24 CEST 2004


On Fri, 2004-10-22 at 09:19, Lloyd Kvam wrote:
> I need to create ID attributes while manipulating an XML document.  Is
> there a Python XML package with a getIDList type of function built in?
> 
> Keeping ID and IDREFS straight seems complicated enough to have gotten
> some special support, but I have failed to track it down.  Any pointers
> are greatly appreciated.

I think the problem is lack of itch for scratching with special
support.  I know I almost never use ID/IDREF, so I've never thought to
implement such a function.  I also haven't heard of such in any XML
package.

Should be easy to create such a SAX filter with a back-end parser that
supports DeclHandler (xmlproc?).


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
A hands-on introduction to ISO Schematron - http://www-106.ibm.com/developerworks/edu/x-dw-xschematron-i.html
Schematron abstract patterns - http://www.ibm.com/developerworks/xml/library/x-stron.html
Wrestling HTML (using Python) - http://www.xml.com/pub/a/2004/09/08/pyxml.html
Enterprise data goes high fashion - http://www.adtmag.com/article.asp?id=10061
Principles of XML design: Considering container elements - http://www-106.ibm.com/developerworks/xml/library/x-contain.html
Hacking XML Hacks - http://www-106.ibm.com/developerworks/xml/library/x-think26.html
A survey of XML standards - http://www-106.ibm.com/developerworks/xml/library/x-stand4/



More information about the XML-SIG mailing list