Commit 78a740c1 authored by lhommeni's avatar lhommeni

Modification du schema RNG Hdoc avec ajout de la value x-listing pour ObjectType

parent db557fba
......@@ -596,7 +596,7 @@
</xsl:template>
<!-- Listing Informatique-->
<xsl:template match="h:object[@type='application/pdf']" priority="1">
<xsl:template match="h:object[@type='application/x-listing']" priority="1">
<sp:listing>
<xsl:copy-of select="document(fn:concat($filename,'/decompressedHdoc/',@data))/sc:item/op:code"/>
</sp:listing>
......
......@@ -68,7 +68,8 @@
<choice>
<value>application/vnd.oasis.opendocument.graphics </value>
<value>application/vnd.oasis.opendocument.spreadsheet</value>
<value>application/pdf</value>
<value>application/pdf</value>
<value>application/x-listing</value>
</choice>
</attribute>
</define>
......
......@@ -277,7 +277,7 @@
<xsl:with-param name="string2" select="'&#10;'" />
</xsl:call-template>
</xsl:variable>
<object type="application/pdf" data="listing/listing{$vUid}.xml"> <!--Modifier le application/pdf lorsque le rng sera changé-->
<object type="application/x-listing" data="listing/listing{$vUid}.xml"> <!--Modifier le application/pdf lorsque le rng sera changé-->
<xsl:result-document href="listing/listing{$vUid}.xml" method="text">
<xsl:text disable-output-escaping="no">
&lt;sc:item xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"&gt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment