diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:09:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:09:42 +0000 |
commit | e90b62501f61698ce4613dfb169e2ed99f47ae09 (patch) | |
tree | f0c9407d607c28e449d2d7c085ffa5abe963c614 /metainfo.xsl | |
parent | 0a8a6375132551db3c980ed7267592f505c1ca41 (diff) |
automatic import of gl-manpagesopeneuler24.03_LTS
Diffstat (limited to 'metainfo.xsl')
-rw-r--r-- | metainfo.xsl | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/metainfo.xsl b/metainfo.xsl new file mode 100644 index 0000000..eb38dfa --- /dev/null +++ b/metainfo.xsl @@ -0,0 +1,34 @@ +<?xml version='1.0'?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:output + doctype-public="-//OASIS//DTD DocBook MathML Module V1.1b1//EN" + doctype-system="http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" + cdata-section-elements="book" + indent="yes" + encoding="UTF-8" + /> + <xsl:template match="@*|node()"> + <xsl:copy> + <xsl:apply-templates select="@*|node()"/> + </xsl:copy> + </xsl:template> + + + <xsl:template match="refentry/refmeta"> + <xsl:element name="info"> + <xsl:element name="orgname"> + <xsl:attribute name="class">consortium</xsl:attribute> + <xsl:text>opengl.org</xsl:text> + </xsl:element> + </xsl:element> + <xsl:element name="refmeta"> + <xsl:apply-templates select="@*|node()"/> + <xsl:element name="refmiscinfo"> + <xsl:attribute name="class">manual</xsl:attribute> + <xsl:text>OpenGL Manual</xsl:text> + </xsl:element> + </xsl:element> + </xsl:template> + +</xsl:stylesheet> |