-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 / Ian Moor <[EMAIL PROTECTED]> was heard to say: |>|>| I have tried to use Slides3.0b2 and saxon and get the error |>|>| Error at xsl:variable on line 67 of |file:/vol/lab/share/sgml/stylesheets/docbook-xsl-1.56.1/html/chunk.xsl: |>|>| Error in expression |($div/preceding-sibling::div|$div/preceding::div|$div/parent::div)[last()]: expected |"<name>", found "div" |>|> |>Can you try using Xerces? AElfred seems buggy. (I'm not asserting that |>that's the problem here, just trying to eliminate a variable. | | I have used Xerces -2_2_0 with saxon and still get the same error message.
Very odd. 3.0b2 and 3.0.0 both work with Saxon and Xalan for me. |>If you can send me the document that causes this problem, that'd be good too. | I am using the example file from slides-3.0b2 minimal.xml And 'plain.xsl' or which stylesheet, exactly? | I tried using xalanj_2_4_1 with xerces and get this error: | file:///homes/iwm/src/slides-3.0b2/xsl/slides-common.xsl; Line 544; Column 57; XSLT |Error (javax.xml.transform.TransformerException): Variable accessed before it is |bound! That's just wrong. It might be worth reporting to the Xalan folks. <xsl:template match="slides" mode="toc"> <xsl:variable name="id"> <xsl:call-template name="object.id"/> </xsl:variable> <xsl:variable name="home" select="/slides"/> <!-- *** DEFINED HERE *** --> <xsl:variable name="up" select="/slides"/> <xsl:variable name="next" select="(foil|foilgroup)[1]"/> <xsl:variable name="tocfile" select="''"/> <xsl:call-template name="write.chunk"> <xsl:with-param name="filename" select="concat($base.dir, $toc.html)"/> <xsl:with-param name="content"> <html> <head> <title><xsl:value-of select="slidesinfo/title"/></title> <!-- Links --> <link type="text/css" rel="stylesheet"> <xsl:attribute name="href"> <xsl:call-template name="css.stylesheet"/> </xsl:attribute> </link> <xsl:call-template name="links"> <xsl:with-param name="home" select="$home"/> <!-- *** USED HERE *** --> Clearly it is bound before it's accessed. Be seeing you, norm - -- Norman Walsh <[EMAIL PROTECTED]> | Success is relative; it is what we http://www.oasis-open.org/docbook/ | make of the mess we have made of Chair, DocBook Technical Committee | things.--T. S. Eliot -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/> iD8DBQE9x74HOyltUcwYWjsRAv4EAKCuZWNZO+8NxdXfnPQ7XCX7AUEKgACglA6M qVZZXQJgJ5JE/BLKSpzbC2Q= =EUsy -----END PGP SIGNATURE-----