[XML-SIG] Fwd: Problem with 4Dom xslt processor

Mike Olson Mike.Olson@fourthought.com
25 Feb 2002 10:16:01 -0700


On Mon, 2002-02-25 at 07:02, Alexandre.Fayolle@logilab.fr wrote:
> 
> I'm forwarding this message from c.l.p., in hope it will be answered 
> here.

What verson of 4Suite and PyXML are you using?

Mike

> 
> Alexandre Fayolle
> ----------------------------------------------------
> From: sjoshi@ingr.com (Sunit Joshi)
> Newsgroups: comp.lang.python
> Subject: Problem with 4Dom xslt processor
> Date: 19 Feb 2002 06:56:43 -0800
> 
> Hello all
> I'm trying to use the 4DOM's xslt processor I keep getting this error
> (below) when trying to append a stylesheet. Any pointers are greatly
> appreciated.
> 
> thanks
> Sunit
> 
> >>> from xml.xslt.Processor import Processor
> >>> proc = Processor()
> >>> proc
> <xml.xslt.Processor.Processor instance at 007E45D4>
> >>> proc.appendStylesheetUri('ships.xsl')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "C:\Python21\_xmlplus\xslt\Processor.py", line 95, in
> appendStylesheetUri
> 
>     sty = self._styReader.fromUri(styleSheetUri, baseUri)
>   File "C:\Python21\_xmlplus\xslt\StylesheetReader.py", line 297, in
> fromUri
>     ownerDoc, stripElements)
>   File "C:\Python21\_xmlplus\xslt\minisupport.py", line 58, in fromUri
>     return self.fromStream(stream, baseUri, ownerDoc, stripElements)
>   File "C:\Python21\_xmlplus\xslt\StylesheetReader.py", line 304, in
> fromStream
>     self.initParser()
>   File "C:\Python21\_xmlplus\xslt\StylesheetReader.py", line 344, in
> initParser
>     if self._force8Bit:
> AttributeError: StylesheetReader instance has no attribute
> '_force8Bit'
> 
> _______________________________________________
> 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 
4735 East Walnut St,                      http://4Suite.org
Boulder, CO 80301-2537, USA
XML strategy, XML tools, knowledge management