PyXML XPath and XSLT Re: [XML-SIG] Mass assignment of 4Suitebug reports

Mike Olson Mike.Olson@fourthought.com
11 Sep 2002 09:00:48 -0600


On Tue, 2002-09-10 at 12:54, Brian Quinlan wrote:
> > I'm all for this.  What I would like to see then in xml.xpath and
> > xml.xslt is smart import logic similar that in the default xml.
> > 
> > So, if a user tries to import xml.xslt.processor it will first look to
> > see if Ft.Xml.Xslt.Processor is available, and if not, then try
> > xml.pyxslt.Processor.  Or, any other of the xslt processors that
> people
> > are proposing.
> 
> Please don't do this. The smart import used by PyXML has caused me
> serious problems in the past.
> 
> Unless the two libraries are going to be bug for bug compatible, then
> I'd like to be able choose myself.

But you will be able to.

from Ft.Xml.Xslt import Processor

or

from xml.pyxslt import Processor

Mike

> 
> Cheers,
> Brian
> 
> 
> _______________________________________________
> XML-SIG maillist  -  XML-SIG@python.org
> http://mail.python.org/mailman/listinfo/xml-sig
-- 
Mike Olson                                Principal Consultant
mike.olson@fourthought.com                +1 303 583 9900 x 102
Fourthought, Inc.                         http://Fourthought.com 
PO Box 270590,                            http://4Suite.org
Louisville, CO 80027-5009, USA
XML strategy, XML tools, knowledge management