Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
78a740c1
Commit
78a740c1
authored
Dec 21, 2015
by
lhommeni
Browse files
Modification du schema RNG Hdoc avec ajout de la value x-listing pour ObjectType
parent
db557fba
Changes
3
Hide whitespace changes
Inline
Side-by-side
hdoc_to_opale/xsl/transformation2.xsl
View file @
78a740c1
...
...
@@ -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>
...
...
schemas/xhtml/type.rng
View file @
78a740c1
...
...
@@ -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>
...
...
wikipedia_to_hdoc/xslt/wiki_to_hdoc.xsl
View file @
78a740c1
...
...
@@ -277,7 +277,7 @@
<xsl:with-param
name=
"string2"
select=
"' '"
/>
</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"
>
<
sc:item xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment