cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Hoffmann <m-hoffm...@ti.com>
Subject Re: XSLT working fine with msxml not with Xalan/cocoon
Date Wed, 29 Nov 2000 15:37:04 GMT
didier

shouldnt be the cocoon-process instruction above the stylesheet ?
(and dont you need it in the xml file too ?)
and then u forgot a "<"
oh and you should leave a space in <br />

> 
> Here is the xsl file (test.xsl)
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <?cocoon-process type="xslt"?>
> <xsl:template match="/">
> <HTML>
> <HEAD>
>    <TITLE>Test</TITLE>
> </HEAD>
> <BODY>
> <H3 ALIGN="CENTER">Test </H3>
> <CENTER><TABLE BORDER="1">
>  <TR><TD><xsl:apply-templates /></TD></TR>
> </TABLE></CENTER>
> <BR/><BR/>
> </BODY>
> </HTML>
> </xsl:template>
> xsl:template match="AAA">

here you forgot a < .. but i guess its a copy and paste error .. right ?

>  <xsl:for-each select="BBB">
>     <xsl:value-of select="CCC"/><BR/>
>     <xsl:value-of select="DDD"/><BR/>
>     <xsl:for-each select="EEE">
>          <xsl:value-of />
??? select="..."

>     </xsl:for-each>
>  </xsl:for-each>
> </xsl:template>
> </xsl:stylesheet>


dont know if this helps... i just what was wondering..

michael

Mime
View raw message