Re: [xml] Re: libxslt question

On Tue, 2004-03-02 at 17:35, Enno Rehling wrote:
Shaun McCance wrote:

Are you using xsl:document to create separate output files?  That isn't
what it does.  The xsl:document function imports additional XML files
for processing.  What you want is the (very poorly named) exsl:document
extension function.


Not according to what I read in xslt 1.1 today:

16.5 Multiple Output Documents
The xsl:document element is used to create multiple result documents. As 
well as the main result document, there can be subsidiary result documents. 

XSLT 1.1 is not a W3C Recommendation, and probably never will be.  Do
NOT use it as your reference.  XSLT 1.0 is the standard, and it is what
libxslt supports.

Note that in Lucas' example XSLT, the version on xsl:stylesheet was set
to "1.0".  If you're going to try to use XSLT 1.1 stuff, at least have
the decency to set the version attribute to "1.1".

As far as I'm concerned, the fact that the xsl:document element works in
libxslt when version is set to "1.0" is a bug.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]