cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject XSLT Problem - need help
Date Tue, 14 Dec 1999 20:58:50 GMT
I am trying to transform the attached XML file with Cocoon into a simple HTML table presentation
with ID and DESCRIPTION as table header. I tried different things, read the specs, but I am
stucked. Depending whether I put a select in the "apply-templates" or not I get either only
the table heading or all the text appearing just before the table.
I would be grateful for any help
--- XML file ---
    <descr>some other blah</descr>
--- XSLT-file ----
<xsl:template match="page">
            Some Title
        <table border="2">
                <td>Short Description</td>
      <xsl:apply-templates select="rowset"/>
<xsl:template match="row">
        <xsl:value-of select="id"/>
        <xsl:value-of select="descr"/>

View raw message