Commit e0844396 authored by lhommeni's avatar lhommeni
Browse files

Gestion plus fine des listins, suppression de java

parent d8b5e071
application/x-hdoc+zip
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<wspType defaultCode="Opale" title="Opale Advanced 3.5 (fr-FR)" description="" uri="Opale3-5_fr-FR_005" key="Opale3-5" lang="fr-FR" version="3.5.005"><wspUpdate localAutoUpdate="minor"><res key="Opale3-5.wsp"/></wspUpdate><systemSpace space="~param/Opale3-5/ss"><res key="Opale3-5.ss"/></systemSpace><systemSpace space="~param/Opale3-5/bs" optional="true"><res key="Opale3-5.bs"/></systemSpace><systemSpace space="~param/Opale3-5/gen/web"><res key="Opale3-5.gen.web"/></systemSpace><systemSpace space="~param/Opale3-5/gen/scormMono"><res key="Opale3-5.gen.scormMono"/></systemSpace><systemSpace space="~param/Opale3-5/gen/scormMulti"><res key="Opale3-5.gen.scormMulti"/></systemSpace><systemSpace space="~param/Opale3-5/gen/paper"><res key="Opale3-5.gen.paper"/></systemSpace><systemSpace space="~param/Opale3-5/gen/pres"><res key="Opale3-5.gen.pres"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewPresShort"><res key="Opale3-5.gen.previewPresShort"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewPresStandard"><res key="Opale3-5.gen.previewPresStandard"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewWebStandard"><res key="Opale3-5.gen.previewWebStandard"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewWebShort"><res key="Opale3-5.gen.previewWebShort"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewWebStandardComments"><res key="Opale3-5.gen.previewWebStandardComments"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewWebShortComments"><res key="Opale3-5.gen.previewWebShortComments"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packScorm12"><res key="Opale3-5.gen.packScorm12"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packScorm2k4"><res key="Opale3-5.gen.packScorm2k4"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packClaroline"><res key="Opale3-5.gen.packClaroline"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packGanesha"><res key="Opale3-5.gen.packGanesha"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packMoodle"><res key="Opale3-5.gen.packMoodle"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packSyfadis"><res key="Opale3-5.gen.packSyfadis"/></systemSpace><editionSheet pack="Opale3-5_fr-FR_005" brickSelector="{Opale3-5.moz;3.5.005;fr-FR}"/></wspType>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<sc:item xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"
xmlns:h="http://www.utc.fr/ics/hdoc/xhtml"
xmlns:op="utc.fr:ics/opale3"
xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive"
xmlns:fn="http://www.w3.org/2005/xpath-functions">
<op:ue>
<op:ueM>
<sp:title>Constructeur — Wikipédia</sp:title>
<sp:info>
<op:info>
<sp:keywds>
<op:keywds/>
</sp:keywds>
<sp:cpyrgt>
<op:sPara>
<sc:para>Wikipedia</sc:para>
</op:sPara>
</sp:cpyrgt>
</op:info>
</sp:info>
</op:ueM>
<sp:intro>
<op:res>
<sp:txt>
<op:txt>
<sc:para>Le mot
<sc:inlineStyle role="emp">constructeur</sc:inlineStyle> peut avoir plusieurs significations :
</sc:para>
</op:txt>
</sp:txt>
</op:res>
</sp:intro>
</op:ue>
</sc:item>
<?xml version="1.0" encoding="UTF-8" ?>
<wspType defaultCode="Opale" title="Opale Advanced 3.5 (fr-FR)" description="" uri="Opale3-5_fr-FR_005" key="Opale3-5" lang="fr-FR" version="3.5.005"><wspUpdate localAutoUpdate="minor"><res key="Opale3-5.wsp"/></wspUpdate><systemSpace space="~param/Opale3-5/ss"><res key="Opale3-5.ss"/></systemSpace><systemSpace space="~param/Opale3-5/bs" optional="true"><res key="Opale3-5.bs"/></systemSpace><systemSpace space="~param/Opale3-5/gen/web"><res key="Opale3-5.gen.web"/></systemSpace><systemSpace space="~param/Opale3-5/gen/scormMono"><res key="Opale3-5.gen.scormMono"/></systemSpace><systemSpace space="~param/Opale3-5/gen/scormMulti"><res key="Opale3-5.gen.scormMulti"/></systemSpace><systemSpace space="~param/Opale3-5/gen/paper"><res key="Opale3-5.gen.paper"/></systemSpace><systemSpace space="~param/Opale3-5/gen/pres"><res key="Opale3-5.gen.pres"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewPresShort"><res key="Opale3-5.gen.previewPresShort"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewPresStandard"><res key="Opale3-5.gen.previewPresStandard"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewWebStandard"><res key="Opale3-5.gen.previewWebStandard"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewWebShort"><res key="Opale3-5.gen.previewWebShort"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewWebStandardComments"><res key="Opale3-5.gen.previewWebStandardComments"/></systemSpace><systemSpace space="~param/Opale3-5/gen/previewWebShortComments"><res key="Opale3-5.gen.previewWebShortComments"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packScorm12"><res key="Opale3-5.gen.packScorm12"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packScorm2k4"><res key="Opale3-5.gen.packScorm2k4"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packClaroline"><res key="Opale3-5.gen.packClaroline"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packGanesha"><res key="Opale3-5.gen.packGanesha"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packMoodle"><res key="Opale3-5.gen.packMoodle"/></systemSpace><systemSpace space="~param/Opale3-5/gen/packSyfadis"><res key="Opale3-5.gen.packSyfadis"/></systemSpace><editionSheet pack="Opale3-5_fr-FR_005" brickSelector="{Opale3-5.moz;3.5.005;fr-FR}"/></wspType>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<sc:item xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"
xmlns:h="http://www.utc.fr/ics/hdoc/xhtml"
xmlns:op="utc.fr:ics/opale3"
xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive"
xmlns:fn="http://www.w3.org/2005/xpath-functions">
<op:ue>
<op:ueM>
<sp:title>Constructeur — Wikipédia</sp:title>
<sp:info>
<op:info>
<sp:keywds>
<op:keywds/>
</sp:keywds>
<sp:cpyrgt>
<op:sPara>
<sc:para>Wikipedia</sc:para>
</op:sPara>
</sp:cpyrgt>
</op:info>
</sp:info>
</op:ueM>
<sp:intro>
<op:res>
<sp:txt>
<op:txt>
<sc:para>Le mot
<sc:inlineStyle role="emp">constructeur</sc:inlineStyle> peut avoir plusieurs significations :
</sc:para>
</op:txt>
</sp:txt>
</op:res>
</sp:intro>
</op:ue>
</sc:item>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:h="http://www.utc.fr/ics/hdoc/xhtml"
xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"
xmlns:op="utc.fr:ics/opale3"
xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive"
name="copy-ucs"
basedir=".."
default="main">
<property name="in" location="${basedir}/input"/>
<property name="out" location="${basedir}/output"/>
<property name="tmp" location="${basedir}/tmp"/>
<property name="xsl" location="${basedir}/xsl"/>
<property name="lib" location="${basedir}/lib"/>
<property name="log" location="${basedir}/log"/>
<property name="schema" location="${basedir}/schema"/>
<taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask">
<classpath>
<pathelement location="./lib/jing.jar"/>
</classpath>
</taskdef>
<property file="global.properties"/>
<target name="main"/>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:c="urn:utc.fr:ics:hdoc:container"
name="getContentFileAndTransformIt"
basedir=".."
default="start">
<property file="global.properties"/>
<taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask">
<classpath>
<pathelement location="./lib/jing.jar"/>
</classpath>
</taskdef>
<target name="start">
<jing file="${tmp}/decompressedHdoc/content.xml"
rngfile="${schema}/hdoc1-xhtml.rng"/>
<xslt in="${tmp}/decompressedHdoc/content.xml"
out="${tmp}/moveRessourceFiles.xml"
style="${xsl}/moveRessourceFiles.xsl"
processor="org.apache.tools.ant.taskdefs.optional.TraXLiaison"/>
<chmod file="${tmp}/moveRessourceFiles.xml" perm="777"/>
<xslt in="${tmp}/decompressedHdoc/content.xml"
out="${tmp}/decompressedOpale/main.xml"
style="${xsl}/transformation2.xsl"
processor="org.apache.tools.ant.taskdefs.optional.TraXLiaison"/>
<chmod file="${tmp}/decompressedOpale/main.xml" perm="777"/>
<xslt in="${tmp}/decompressedHdoc/content.xml"
out="${tmp}/convertReferences.xml"
style="${xsl}/prepareReferencesConversions.xsl"
processor="org.apache.tools.ant.taskdefs.optional.TraXLiaison"/>
<ant antfile="${tmp}/convertReferences.xml"/>
</target>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:h="http://www.utc.fr/ics/hdoc/xhtml"
name="moveRessourceFiles"
basedir="."
default="moveRessourceFiles">
<property file="global.properties"/>
<target name="moveRessourceFiles"/>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<sc:item xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"
xmlns:h="http://www.utc.fr/ics/hdoc/xhtml"
xmlns:op="utc.fr:ics/opale3"
xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive"
xmlns:fn="http://www.w3.org/2005/xpath-functions">
<op:ue>
<op:ueM>
<sp:title>Constructeur — Wikipédia</sp:title>
<sp:info>
<op:info>
<sp:keywds>
<op:keywds/>
</sp:keywds>
<sp:cpyrgt>
<op:sPara>
<sc:para>Wikipedia</sc:para>
</op:sPara>
</sp:cpyrgt>
</op:info>
</sp:info>
</op:ueM>
<sp:intro>
<op:res>
<sp:txt>
<op:txt>
<sc:para>Le mot
<sc:inlineStyle role="emp">constructeur</sc:inlineStyle> peut avoir plusieurs significations :
</sc:para>
</op:txt>
</sp:txt>
</op:res>
</sp:intro>
</op:ue>
</sc:item>
......@@ -42,7 +42,7 @@
<param name="elementid" expression="{@data-export-id}"/>
</xslt>
<jing file="${{tmp}}/decompressedOpaleDivided/{@data-export-file}" rngfile="${{schema}}/op_expUc.rng"></jing>
<!-- <jing file="${{tmp}}/decompressedOpaleDivided/{@data-export-file}" rngfile="${{schema}}/op_expUc.rng"></jing>-->
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:h="http://www.utc.fr/ics/hdoc/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
xmlns:sc="http://www.utc.fr/ics/scenari/v3/core"
xmlns:op="utc.fr:ics/opale3"
xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
>
<xsl:output method="xml" indent="yes" encoding="UTF-8"/>
......@@ -568,6 +570,34 @@
<op:resInfoM/>
</sp:res>
</xsl:template>
<!-- Listing -->
<xsl:param name="text-encoding" as="xs:string" select="'iso-8859-1'"/>
<xsl:param name="text-uri" as="xs:string" select="res/listing/listing1.txt"/>
<xsl:template match="h:object[@type='application/pdf']" priority="1">
<sp:listing>
<xsl:copy-of select="document(fn:concat('../tmp/decompressedHdoc/',@data))/sc:item/op:code"/>
</sp:listing>
<!-- <sp:listing>
<sc:item>
<op:code>
<sc:code mimeType="text/x-csrc"><xsl:copy-of select="unparsed-text(fn:concat('../tmp/decompressedHdoc/',@data))"/></sc:code>
</op:code>
</sc:item>-->
<!--<op:code>
<sc:code mimeType="text/plain">
<xsl:copy-of select="unparsed-text(fn:concat('../tmp/decompressedHdoc/',@data))"/>
</sc:code>
</op:code>-->
<!-- -->
</xsl:template>
<xsl:template match="h:object">
<sp:int sc:refUri="res/{./@data}">
<op:instructionM/>
......
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