]> Lady’s Gitweb - Caudex/blobdiff - transform.xslt
Enable manual ordering
[Caudex] / transform.xslt
index a6143634eecf0c39b0b1049f2b0530d9f931a845..9495900a771a96101bc64798b2d2ef67cff5b182 100644 (file)
@@ -23,6 +23,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
        xmlns:exsl="http://exslt.org/common"
        xmlns:exslstr="http://exslt.org/strings"
        xmlns:html="&xhtml;"
+       xmlns:ladys="https://vocab.ladys.computer/terms/"
        xmlns:ore="http://www.openarchives.org/ore/terms/"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:skos="http://www.w3.org/2004/02/skos/core#"
@@ -76,6 +77,8 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                        <element name="nav" namespace="&xhtml;">
                                                <element name="ul" namespace="&xhtml;">
                                                        <for-each select="$codex//awol:Category">
+                                                               <sort select="ladys:order" data-type="number"/>
+                                                               <sort select="@awol:term"/>
                                                                <variable name="category-id" select="string(@rdf:nodeID)"/>
                                                                <element name="li" namespace="&xhtml;">
                                                                        <element name="strong" namespace="&xhtml;">
@@ -83,6 +86,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                                                                        </element>
                                                                        <element name="ul" namespace="&xhtml;">
                                                                                <for-each select="$codex//ore:Proxy[ore:proxyIn/@rdf:nodeID='codex' and awol:category/@rdf:nodeID=$category-id]">
+                                                                                       <sort select="ladys:order" data-type="number"/>
                                                                                        <sort select="@dcterms:title"/>
                                                                                        <sort select="skos:notation"/>
                                                                                        <element name="li" namespace="&xhtml;">
This page took 0.022829 seconds and 4 git commands to generate.