This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Process XHTML embedded in XML
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Process XHTML embedded in XML
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Fri, 1 Jun 2001 14:44:29 +0200 (MET DST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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"> ....
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list