forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moshe Yudkowsky <>
Subject meta tag pass through?
Date Thu, 08 Dec 2005 01:49:33 GMT
I see that the "meta" tag is supported in the DTD for version 20 
documents, but does the rest of the system support the tag, and if so, 
how so?

I've tried to add, to site2xhtml.xsl, the following:

> <xsl:apply-templates select="meta"/>

and a template

> <xsl:template match="meta">
> 	<xsl:for-each select="meta">
> 	<xsl:element name="meta">
> 		<xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
> 		<xsl:attribute name="content"><xsl:value-of select="."/></xsl:attribute>
> 		<xsl:if test="@xml:lang">
> 		<xsl:attribute name="lang"><xsl:value-of select="@xml:lang"/></xsl:attribute>
> 		</xsl:if>
> 	</xsl:element>
> 	</xsl:for-each>
> </xsl:template>

but now I'm wondering if I have any <meta> tags coming through the 
pipeline to this point, or if I've got a silly error that makes the 
entire exercise pointless!


View raw message