-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
2,651 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- XSLT script to combine the generated output into a single file. | ||
If you have xsltproc you could use: | ||
xsltproc combine.xslt index.xml >all.xml | ||
--> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
<xsl:output method="xml" version="1.0" indent="no" standalone="yes" /> | ||
<xsl:template match="/"> | ||
<doxygen version="{doxygenindex/@version}" xml:lang="{doxygenindex/@xml:lang}"> | ||
<!-- Load all doxygen generated xml files --> | ||
<xsl:for-each select="doxygenindex/compound"> | ||
<xsl:copy-of select="document( concat( @refid, '.xml' ) )/doxygen/*" /> | ||
</xsl:for-each> | ||
</doxygen> | ||
</xsl:template> | ||
</xsl:stylesheet> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version='1.0' encoding='utf-8' ?> | ||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/> | ||
|
||
<xsd:element name="doxygenindex" type="DoxygenType"/> | ||
|
||
<xsd:complexType name="DoxygenType"> | ||
<xsd:sequence> | ||
<xsd:element name="compound" type="CompoundType" minOccurs="0" maxOccurs="unbounded"/> | ||
</xsd:sequence> | ||
<xsd:attribute name="version" type="xsd:string" use="required"/> | ||
<xsd:attribute ref="xml:lang" use="required"/> | ||
</xsd:complexType> | ||
|
||
<xsd:complexType name="CompoundType"> | ||
<xsd:sequence> | ||
<xsd:element name="name" type="xsd:string"/> | ||
<xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded"/> | ||
</xsd:sequence> | ||
<xsd:attribute name="refid" type="xsd:string" use="required"/> | ||
<xsd:attribute name="kind" type="CompoundKind" use="required"/> | ||
</xsd:complexType> | ||
|
||
<xsd:complexType name="MemberType"> | ||
<xsd:sequence> | ||
<xsd:element name="name" type="xsd:string"/> | ||
</xsd:sequence> | ||
<xsd:attribute name="refid" type="xsd:string" use="required"/> | ||
<xsd:attribute name="kind" type="MemberKind" use="required"/> | ||
</xsd:complexType> | ||
|
||
<xsd:simpleType name="CompoundKind"> | ||
<xsd:restriction base="xsd:string"> | ||
<xsd:enumeration value="class"/> | ||
<xsd:enumeration value="struct"/> | ||
<xsd:enumeration value="union"/> | ||
<xsd:enumeration value="interface"/> | ||
<xsd:enumeration value="protocol"/> | ||
<xsd:enumeration value="category"/> | ||
<xsd:enumeration value="exception"/> | ||
<xsd:enumeration value="file"/> | ||
<xsd:enumeration value="namespace"/> | ||
<xsd:enumeration value="group"/> | ||
<xsd:enumeration value="page"/> | ||
<xsd:enumeration value="example"/> | ||
<xsd:enumeration value="dir"/> | ||
<xsd:enumeration value="type"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
<xsd:simpleType name="MemberKind"> | ||
<xsd:restriction base="xsd:string"> | ||
<xsd:enumeration value="define"/> | ||
<xsd:enumeration value="property"/> | ||
<xsd:enumeration value="event"/> | ||
<xsd:enumeration value="variable"/> | ||
<xsd:enumeration value="typedef"/> | ||
<xsd:enumeration value="enum"/> | ||
<xsd:enumeration value="enumvalue"/> | ||
<xsd:enumeration value="function"/> | ||
<xsd:enumeration value="signal"/> | ||
<xsd:enumeration value="prototype"/> | ||
<xsd:enumeration value="friend"/> | ||
<xsd:enumeration value="dcop"/> | ||
<xsd:enumeration value="slot"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
</xsd:schema> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version='1.0'?> | ||
<xsd:schema targetNamespace="http://www.w3.org/XML/1998/namespace" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xml:lang="en"> | ||
|
||
<xsd:attribute name="lang" type="xsd:language"> | ||
</xsd:attribute> | ||
|
||
<xsd:attribute name="space" default="preserve"> | ||
<xsd:simpleType> | ||
<xsd:restriction base="xsd:NCName"> | ||
<xsd:enumeration value="default"/> | ||
<xsd:enumeration value="preserve"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
</xsd:attribute> | ||
|
||
<xsd:attributeGroup name="specialAttrs"> | ||
<xsd:attribute ref="xml:lang"/> | ||
<xsd:attribute ref="xml:space"/> | ||
</xsd:attributeGroup> | ||
|
||
</xsd:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- XSLT script to combine the generated output into a single file. | ||
If you have xsltproc you could use: | ||
xsltproc combine.xslt index.xml >all.xml | ||
--> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
<xsl:output method="xml" version="1.0" indent="no" standalone="yes" /> | ||
<xsl:template match="/"> | ||
<doxygen version="{doxygenindex/@version}" xml:lang="{doxygenindex/@xml:lang}"> | ||
<!-- Load all doxygen generated xml files --> | ||
<xsl:for-each select="doxygenindex/compound"> | ||
<xsl:copy-of select="document( concat( @refid, '.xml' ) )/doxygen/*" /> | ||
</xsl:for-each> | ||
</doxygen> | ||
</xsl:template> | ||
</xsl:stylesheet> |
Oops, something went wrong.