[XML-SIG] Re: [4suite] Converting a DOM-tree with XSL

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue, 7 Nov 2000 00:06:19 +0100

> > I want to build an DOM tree from the results of database queries
> > and to convert this tree to HTML via XSL.
> > The transformation with Processor from xml.xslt works well if I use
> > FromXmlFile from ml.dom.ext.reader.Sax to build the DOM tree.
> > But if I use the DOM-builder (xml.dom.builder) instead, I get the
> This package, as well as core.py are obsolete packages from PyXml
> You should not be using them.

I'm not sure I understand the problem here. If he was using PyXML
0.6.1, there would not be any xml.dom.builder, nor does any online
documentation claim there is (if that's incorrect, please let me know).

However, if he does use 0.5.x, what's wrong with using
xml.dom.builder? It won't give you a 4DOM tree, and yes, it is not
included in later releases anymore - but that doesn't help users who
can't or won't upgrade.

> Maybe a clear warning should be put somewhere on the PyXml web site,
> or a FAQ set up, since this question really comes up often.

Contributions of documentation are certainly welcome. The easiest
thing is probably to do such stuff on the XML topic guide; feel free
to check that out via CVS.