diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-02 07:05:55 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-02 07:05:55 +0000 |
commit | 5c6601a6b28711f90acfe10f7fcf0b667d49dc56 (patch) | |
tree | f0c9407d607c28e449d2d7c085ffa5abe963c614 /metainfo.xsl | |
parent | 89859a5e144771d9e07a4141ad0a75c1918d6124 (diff) |
automatic import of gl-manpagesopeneuler24.03_LTSopeneuler23.09
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> |