From: bryan r. <ras...@gm...> - 2007-06-21 08:02:02
|
No, Saxon supports xsl:include, and Saxon doesn't use an xsl processor, Saxon is an xsl processor. Saxon uses an XML parser, Aelfred, but Aelfred isn't an xsl processor and has nothing to do with the xsl processing. I am assuming that the namespaces feature is something else, not involved with xsl:include. Is it because you are trying to use xsl:namespace somewhere in your stylesheet and that is the problem? Are you sure your stylesheet says its version is 2.0? Did you write xsl:namespaces instead of xsl:namespace? And so on and so forth, in other words I think it is probably a problem with the stylesheet. have you tried the xsl list? Cheers, Bryan Rasmussen Message: 7 Date: Wed, 20 Jun 2007 11:16:57 -0400 From: Vincent St-Amour <sta...@ir...> Subject: Re: [Exist-open] Change xsl parser ? To: exi...@li... Message-ID: <200...@fl...> Content-Type: text/plain; charset=us-ascii I think my question might have been unclear. I am already using Saxon as eXist's XSLT processor, but I don't think it uses the correct parser. When I try to use an xsl:include in an XSLT stylesheet, I get the following error message from the database : Error at xsl:include of : XTSE0165: The SAX2 parser does not recognize the 'namespaces' feature Maybe the problem is somewhere else, but I think it might be that the xsl parser (used by Saxon) doesn't support xsl:include. If it's the case, then it would be nice to change the parser to AElfred, which does support xsl:include. My transformation works if I include the other stylesheet manually instead of using xsl:include, but it would be nice if it could be done automatically. Thanks again. Vincent St-Amour > See an example of how you can do it there : > http://wiki.exist-db.org/space/Howtos/Adding+XSLT+2.0+%28Saxon%29 > > Do not hesitate to add a page on how to plug Aelfred. > > Cheers, > > p.b. |