David LAGARDERE wrote:

Are you sure that your DB element templates in your
stylesheet match elements with the "sql" namespace
prefix ?



I tried it with copy and paste for the "generated" xml-file and my xsl-file.
And there it works, everything is put in a table.
The values now show up, but they are left untouched, or better they are lined up, without any spaces at all.


Here is a snapshot

xml:
<rowset name="films">
           <row>
               <code>A0001</code>
               <kind>Action</kind>
               <date_prod>1996-01-01</date_prod>
           </row>

xsl:
<xsl:template match="rowset">
<table>
<tbody>
  <xsl:apply-templates />
</tbody>
</table>
</xsl:template>

<xsl:template match="row">
<tr>
  <xsl:apply-templates />
</tr>
</xsl:template>

<xsl:template match="code">
<td>
<span style="font-weight:bold; color:blue"><xsl:value-of select="." /></span>
</td>
</xsl:template>
........





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to