[XML-SIG] managing ID attributes in an XML document
uche.ogbuji at fourthought.com
Sun Oct 24 06:37:40 CEST 2004
On Sat, 2004-10-23 at 12:10, Uche Ogbuji wrote:
> 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
> Should be easy to create such a SAX filter with a back-end parser that
> supports DeclHandler (xmlproc?).
And this got me thinking. I've been considering adding an "ask the
columnist" section in the Python/XML series . I might go ahead and
write up such a SAX filter as the first entry.
The idea for "ask the columnist" would be to have folks e-mail me
questions such as the best techniques for some XML processing task, or
what packages I've run across in the course of writing the column that
can help with some problem or need. I'd pick the best questions that I
can handle and address them in the following column. If you like this
idea, or if you have any such question, please let me know.
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