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"> .... Cheers, Oliver /-------------------------------------------------------------------\ | ob|do Dipl.Inf. Oliver Becker | | --+-- E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \-------------------------------------------------------------------/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Process XHTML embedded in, Dimitre Novatchev | Thread | [xsl] XSL to put node (and kids) in, Monte Kalisch |
Re: [xsl] generic method of getting, Edward Kennedy | Date | [xsl] XSL to put node (and kids) in, Monte Kalisch |
Month |