diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/xml-to-html.xsl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/xml-to-html.xsl b/tools/xml-to-html.xsl index 65441c2..97e8431 100644 --- a/tools/xml-to-html.xsl +++ b/tools/xml-to-html.xsl @@ -57,8 +57,13 @@ href="{@primaryTopic}" /> </xsl:if> + <!-- Additional topics --> <xsl:apply-templates select="topic" /> + <!-- Additional raw meta and links --> + <xsl:apply-templates select="xhtml:meta" /> + <xsl:apply-templates select="xhtml:link" /> + <!-- The rest is fixed metadata --> <link property="dc:creator schema:creator foaf:maker" href="/foaf.rdf#me" /> @@ -82,4 +87,9 @@ href="{@iri}" /> </xsl:template> + <!-- Additional raw meta and link elements --> + <xsl:template match="xhtml:meta | xhtml:link"> + <xsl:copy-of select="." /> + </xsl:template> + </xsl:stylesheet> |