Using external namespaces with mallard-site-tool

Shaun McCance <shaunm at gnome.org>
Tue Mar 26 10:39:57 EDT 2013

On Tue, 2013-03-26 at 10:23 -0400, Shaun McCance wrote:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>                 xmlns:html="http://www.w3.org/1999/xhtml"
>                 xmlns="http://www.w3.org/1999/xhtml"
>                 version="1.0">
> <xsl:template mode="mal2html.inline.mode" match="html:*">
>   <xsl:element name="{local-name(.)} namespace="{$html.namespace}">
                                      ^
>     <xsl:apply-templates mode="mal2html.inline.mode"/>
>   </xsl:element>
> </xsl:template>
> </xsl:stylesheet>

Missed a closing quote for the name attribute. Sorry. I'm going
to integrate something like this to at least make Ruby work in
Yelp 3.10. I'm not sure if I'll get to a full HTML pass-through
for block elements and extra stuff in the head.

--
Shaun