[Zope3-checkins] CVS: zopeproducts/xml/xslt - foursuitetransformer.py:1.2
Philipp von Weitershausen
philikon@philikon.de
Sun, 22 Jun 2003 20:27:52 -0400
Update of /cvs-repository/zopeproducts/xml/xslt
In directory cvs.zope.org:/tmp/cvs-serv21357
Modified Files:
foursuitetransformer.py
Log Message:
Factored out basic implementation of IXMLText to xml/content.py.
=== zopeproducts/xml/xslt/foursuitetransformer.py 1.1 => 1.2 ===
--- zopeproducts/xml/xslt/foursuitetransformer.py:1.1 Fri Jun 20 11:11:41 2003
+++ zopeproducts/xml/xslt/foursuitetransformer.py Sun Jun 22 20:27:51 2003
@@ -20,21 +20,12 @@
from zope.interface import implements
from zope.component import getAdapter
from zope.app.interfaces.xml.source import IXMLText
-from zope.app.xml.w3cschemalocations import\
- setInstanceInterfacesForXMLText
from Ft.Xml.Xslt import Processor, XsltException
from Ft.Xml.InputSource import InputSource
from zopeproducts.xml.interfaces.xslt import IXSLTTransformer, XSLTError
-
-class XMLText:
-
- implements(IXMLText)
-
- def __init__(self, xml="<doc/>"):
- self.source = xml
- setInstanceInterfacesForXMLText(self)
+from zopeproducts.xml.content import XMLText
class FourSuiteTransformer:
"""