xsl-list
[Top] [All Lists]

RE: [Q] for-each formatting problem

2003-10-07 05:06:33
Hi,

This is the respective xsl snippet that does not
provide formatting:
...
<xsl:for-each select="//azkno:annotation">
<I><font color="#CC00CC">Annotation</font></I>
<font color="#000000">
<xsl:apply-templates select="."/>

Replace the xsl:apply-tempaltes with 

<xsl:for-each select="rdf:Description/*">
  <xsl:value-of select="."/>
</xsl:for-each>

It is serialised into (HTML):
-----------------------------------------------------
Annotationauthor_12003-09-20I did implement this and it
worked fine

Read the XSLT spec, about the build-in template rules.
 
Cheers,

Jarno - Conjure One: Sleep (Ian Van Dahl Mix)

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>