adl2documentation had an obsolete DTD version.
This commit is contained in:
parent
7f9e0222e4
commit
f62d08e5e7
|
@ -1,14 +1,14 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
<xsl:stylesheet version="1.0"
|
<xsl:stylesheet version="1.0"
|
||||||
xmlns="http://bowyer.journeyman.cc/adl/1.4/"
|
xmlns="http://bowyer.journeyman.cc/adl/1.4.1/"
|
||||||
xmlns:adl="http://bowyer.journeyman.cc/adl/1.4/"
|
xmlns:adl="http://bowyer.journeyman.cc/adl/1.4.1/"
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||||
<xsl:output encoding="UTF-8" method="xml" indent="yes" />
|
<xsl:output encoding="UTF-8" method="xml" indent="yes" />
|
||||||
|
|
||||||
<xsl:param name="locale" select="en-GB"/>
|
<xsl:param name="locale" select="en-GB"/>
|
||||||
|
|
||||||
<xsl:param name="css-stylesheet"
|
<xsl:param name="css-stylesheet"
|
||||||
select="'http://libs.cygnets.co.uk/adl/unstable/ADL/documentation.css'"/>
|
select="'http://libs.cygnets.co.uk/adl/unstable/ADL/documentation.css'"/>
|
||||||
|
|
||||||
<xsl:param name="detail" select="full"/>
|
<xsl:param name="detail" select="full"/>
|
||||||
|
@ -337,7 +337,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="adl:typedef">
|
<xsl:template match="adl:typedef">
|
||||||
<hr/>
|
<hr/>
|
||||||
<a>
|
<a>
|
||||||
|
@ -378,10 +378,10 @@
|
||||||
<xsl:apply-templates select="adl:documentation"/>
|
<xsl:apply-templates select="adl:documentation"/>
|
||||||
<a href="#top">[back to top]</a>
|
<a href="#top">[back to top]</a>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="adl:prompt">
|
<xsl:template match="adl:prompt">
|
||||||
<!-- If I'm the prompt for the current locale, show me;
|
<!-- If I'm the prompt for the current locale, show me;
|
||||||
if I'm the default prompt, show me only if there isn't
|
if I'm the default prompt, show me only if there isn't
|
||||||
one for the default locale -->
|
one for the default locale -->
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="not($locale) and @locale='en-GB'">
|
<xsl:when test="not($locale) and @locale='en-GB'">
|
||||||
|
@ -404,8 +404,8 @@
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="adl:help">
|
<xsl:template match="adl:help">
|
||||||
<!-- If I'm the helptext for the current locale, show me;
|
<!-- If I'm the helptext for the current locale, show me;
|
||||||
if I'm the default helptext, show me only if there isn't
|
if I'm the default helptext, show me only if there isn't
|
||||||
one for the default locale -->
|
one for the default locale -->
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="not($locale) and @locale='en-GB'">
|
<xsl:when test="not($locale) and @locale='en-GB'">
|
||||||
|
@ -492,7 +492,7 @@
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</a>
|
</a>
|
||||||
<h4>
|
<h4>
|
||||||
Form '<xsl:value-of select="@name"/>' of entity
|
Form '<xsl:value-of select="@name"/>' of entity
|
||||||
<a>
|
<a>
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="concat('#entity-', ancestor::adl:entity/@name)"/>
|
<xsl:value-of select="concat('#entity-', ancestor::adl:entity/@name)"/>
|
||||||
|
@ -581,7 +581,7 @@
|
||||||
<xsl:value-of select="concat('#entity-', ancestor::adl:entity/@name)"/>
|
<xsl:value-of select="concat('#entity-', ancestor::adl:entity/@name)"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="ancestor::adl:entity/@name"/>
|
<xsl:value-of select="ancestor::adl:entity/@name"/>
|
||||||
</a>, on select
|
</a>, on select
|
||||||
<a>
|
<a>
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="concat( '#page-', ancestor::adl:entity/@name, '-', @onselect)"/>
|
<xsl:value-of select="concat( '#page-', ancestor::adl:entity/@name, '-', @onselect)"/>
|
||||||
|
@ -729,7 +729,7 @@
|
||||||
<td>
|
<td>
|
||||||
<a>
|
<a>
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:variable name="propname" select="@property"/>
|
<xsl:variable name="propname" select="@property"/>
|
||||||
<xsl:variable name="targetent">
|
<xsl:variable name="targetent">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="ancestor::adl:entity//adl:property[@name=$propname]/@entity">
|
<xsl:when test="ancestor::adl:entity//adl:property[@name=$propname]/@entity">
|
||||||
|
|
Loading…
Reference in a new issue