xml-model
This commit is contained in:
parent
3267a980b3
commit
5d3a184468
2 changed files with 2 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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 -->
|
||||
|
|
Reference in a new issue