Re: [xsl] Process XHTML embedded in XML

Subject: Re: [xsl] Process XHTML embedded in XML
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Jun 2001 14:44:29 +0200 (MET DST)
> you wrote:
>   <xsl:template match="caption">
>         <font color="white"><i><xsl:value-of select="."/></i></font>
>   </xsl:template>
> </xsl:stylesheet>

caption is in the xhtml namespace, so you must use a pattern that matches
such an element. So define a prefix for this namespace (e.g. xhtml in the
xsl:stylesheet start tag) and use

<xsl:template match="xhtml:caption"> ....


|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx             |
|  op|qo        WWW: |

 XSL-List info and archive:

Current Thread