1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-27 12:15:34 +03:00

Port doc/examples/index.py to Python 3

- Make sure that examples.xml is generated deterministically
- Sort includes by line number
This commit is contained in:
Nick Wellnhofer
2022-08-18 21:03:56 +02:00
parent 5264fa1100
commit 18d79460ab
2 changed files with 112 additions and 128 deletions

View File

@@ -37,6 +37,7 @@
<p>Includes:</p>
<ul>
<xsl:for-each select="includes/include">
<xsl:sort select="@line" data-type="number"/>
<xsl:apply-templates select='.'/>
</xsl:for-each>
</ul>