logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

r26418 - lxml/branch/resolver-new/doc: msg#00112

Subject: r26418 - lxml/branch/resolver-new/doc
Author: scoder
Date: Thu Apr 27 10:31:06 2006
New Revision: 26418

Modified:
   lxml/branch/resolver-new/doc/resolvers.txt
Log:
state that XSLT generated documents inherit the parsers of their input document

Modified: lxml/branch/resolver-new/doc/resolvers.txt
==============================================================================
--- lxml/branch/resolver-new/doc/resolvers.txt  (original)
+++ lxml/branch/resolver-new/doc/resolvers.txt  Thu Apr 27 10:31:06 2006
@@ -121,8 +121,8 @@
     [...]
   XSLTParseError: Cannot resolve URI honk:test
 
-However, if we use the "honk" resolver associated with the second document,
-everything works fine::
+However, if we use the "honk" resolver associated with the respective
+document, everything works fine::
 
   >>> transform = etree.XSLT(honk_doc)
   Resolving url honk:test as prefix honk ... done
@@ -180,3 +180,8 @@
   >>> print str(result),
   <?xml version="1.0"?>
   <test>hoi-TEST</test>
+
+It may be seen as a matter of taste what resolvers the generated document
+inherits.  For XSLT, the output document inherits the resolvers of the input
+document and not those of the stylesheet.  Therefore, the last result does not
+inherit any resolvers at all.


<Prev in Thread] Current Thread [Next in Thread>