[xslt] outputing html



I am trying to output an HTML SPAN node with an variable attribute but it
does not show in the output. THe result of the apply-templates shows between
the TD tags but the SPAN tags are nowhere to be found.

using:
......
<xsl:output
   encoding="iso-8859-1"
   method="html"
   indent="yes"/>
.......
<TD>

<xsl:for-each select="$page_nodeset/content/xml[@position='left']">

   <xsl:variable
      name="xml_idref"
      select="key('content_key', @id)/@xml_idref"/>

   <SPAN ID="{$xml_idref}">

   <xsl:apply-templates
      select="document(concat($rel_path_to_content, $xml_idref))/article"/>

   </SPAN>

</xsl:for-each>

</TD>
........




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]