AxKit2
view release on metacpan or search on metacpan
lib/AxKit2/Transformer/TAL.pm view on Meta::CPAN
</xsl:when>
<xsl:otherwise>
<func:result select="$path"/>
</xsl:otherwise>
</xsl:choose>
</func:function>
<xsl:template match="/">
<xslout:stylesheet version="1.0" exclude-result-prefixes="bxf tal metal">
<xsl:choose>
<xsl:when test="local-name(/node()) = 'html'">
<xslout:output encoding="utf-8" method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
</xsl:when>
<xsl:otherwise>
<xslout:output encoding="utf-8" method="xml"/>
</xsl:otherwise>
</xsl:choose>
!TALPARAMS!
<xsl:apply-templates select="//*[@tal:include]" mode="init"/>
<xsl:apply-templates select="//*[@tal:match]" mode="init"/>
<xsl:apply-templates select="//*[@metal:use-macro]" mode="init"/>
<xslout:template match="/">
plugins/spod5 view on Meta::CPAN
</xsl:template>
</xsl:stylesheet>
EOT
$pod2s5 = <<'EOT';
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
<xsl:output method="html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
indent="yes"/>
<xsl:template match="/pod">
<html>
<head>
<title><xsl:value-of select="meta/title"/></title>
<!-- metadata -->
<meta name="generator" content="spod5" />
( run in 0.561 second using v1.01-cache-2.11-cpan-95122f20152 )