[Zope-xml] Trying to get 4Suite and XMLTransform up and running
Jean Jordaan
jean at upfrontsystems.co.za
Wed Sep 11 10:25:42 EDT 2002
I'm in way beyond my depth here, but stepping thru Zope while parsing
this test XSL of mine, I notice this when the include element is reached.
I guess '<xsl:include href="included.xsl" />' is really something
completely different from an XInclude include as in the below, and that
I shouldn't be worried?
/usr/lib/python2.1/site-packages/Ft/Xml/Xslt/StylesheetHandler.py(231)startElement()
-> if name == XINCLUDE_NAME:
(Pdb) l
226 def startElement(self, name, attribs, *args):
227
228 self._whole_text and self._completeTextNode(self._node_stack[-1])
229
230 # check for XInclude
231 B-> if name == XINCLUDE_NAME:
232 self._handle_xinclude(attribs)
233 # throw away this element
234 self._node_stack.append(None)
235 return
236
(Pdb) p name
u'http://www.w3.org/1999/XSL/Transform include'
(Pdb) p XINCLUDE_NAME
'http://www.w3.org/2001/XInclude include'
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
More information about the Zope-xml
mailing list