stevenn 2003/02/04 11:13:03 Modified: src/blocks/chaperon/samples/stylesheets class2html.xsl java2html.xsl Log: fixed the XSLT validation errors - please crosscheck Revision Changes Path 1.2 +6 -0 xml-cocoon2/src/blocks/chaperon/samples/stylesheets/class2html.xsl Index: class2html.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/src/blocks/chaperon/samples/stylesheets/class2html.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- class2html.xsl 3 Feb 2003 19:15:35 -0000 1.1 +++ class2html.xsl 4 Feb 2003 19:13:03 -0000 1.2 @@ -368,8 +368,14 @@ <xsl:apply-templates select="st:TEXT|st:TAG"/> </xsl:template> +<!-- FIXME: Stephan, check if this is waht you want (SN) <xsl:template match="st:TAG"> <xsl:text disable-output-escaping="yes"><xsl:value-of select="."/></xsl:text> + </xsl:template> +--> + + <xsl:template match="st:TAG"> + <xsl:value-of select="." disable-output-escaping="yes"/> </xsl:template> </xsl:stylesheet> 1.3 +4 -0 xml-cocoon2/src/blocks/chaperon/samples/stylesheets/java2html.xsl Index: java2html.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/src/blocks/chaperon/samples/stylesheets/java2html.xsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- java2html.xsl 3 Feb 2003 19:15:35 -0000 1.2 +++ java2html.xsl 4 Feb 2003 19:13:03 -0000 1.3 @@ -489,9 +489,13 @@ <!-- <br/>--> </xsl:template> +<!-- FIXME: Stephan, take a look if this is what you want (SN) <xsl:template match="lex:lexeme[@symbol='SPACES']"> <xsl:text><xsl:value-of select="@text"/></xsl:text> </xsl:template> +--> + + <xsl:template match="lex:lexeme[@symbol='SPACES']"><xsl:value-of select="@text"/></xsl:template> <xsl:template match="lex:lexeme[@symbol='TAB']"> <xsl:text> </xsl:text>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]