xml-model

This commit is contained in:
Mylloon 2024-05-03 01:58:49 +02:00
parent 3267a980b3
commit 5d3a184468
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 4 deletions

View file

@ -116,10 +116,7 @@
<!-- On récupère le Lsystem qui nous intéresse -->
<xsl:template match="/">
<xsl:processing-instruction name="xml-model">
href="tortue.xsd"
</xsl:processing-instruction>
<xsl:processing-instruction name="xml-model">href="tortue.xsd"</xsl:processing-instruction>
<xsl:apply-templates
select="lsystems/lsystem[name=$nom]" />
</xsl:template>

View file

@ -13,6 +13,7 @@
as="xs:double" />
<xsl:template match="/tortue">
<xsl:processing-instruction name="xml-model">href="traceur.xsd"</xsl:processing-instruction>
<traceur>
<!-- Appel du template pour traiter les commandes avec les valeurs initiales des
paramètres -->