Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hdoc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Stephane Crozat
hdoc
Commits
ad45b180
Commit
ad45b180
authored
Dec 17, 2015
by
Hachem Rihab
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.utc.fr:crozatst/hdoc
parents
08f45e52
e41b779e
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
95 additions
and
165 deletions
+95
-165
Lexique_to_Opale/lexique_to_opale.ant
Lexique_to_Opale/lexique_to_opale.ant
+52
-0
lexique_to_hdoc/run.sh~
lexique_to_hdoc/run.sh~
+1
-1
lexique_to_hdoc/xsl/lexique_to_hdoc.xsl
lexique_to_hdoc/xsl/lexique_to_hdoc.xsl
+14
-81
lexique_to_hdoc/xsl/lexique_to_hdoc.xsl~
lexique_to_hdoc/xsl/lexique_to_hdoc.xsl~
+15
-82
lexique_to_opale/README.md
lexique_to_opale/README.md
+1
-0
lexique_to_opale/samples/Exemple_2015-12-5.scar
lexique_to_opale/samples/Exemple_2015-12-5.scar
+0
-0
lexique_to_opale/samples/second.scar
lexique_to_opale/samples/second.scar
+0
-0
lexique_to_optim/README.md
lexique_to_optim/README.md
+1
-0
lexique_to_optim/samples/Exemple_2015-12-5.scar
lexique_to_optim/samples/Exemple_2015-12-5.scar
+0
-0
lexique_to_optim/samples/second.scar
lexique_to_optim/samples/second.scar
+0
-0
opale_to_hdoc/input/sample.scar
opale_to_hdoc/input/sample.scar
+0
-0
opale_to_lexique/README.md
opale_to_lexique/README.md
+1
-0
opale_to_lexique/samples/buc1-Buckland-WhatIsA(Digital)Document_2015-12-13.scar
...es/buc1-Buckland-WhatIsA(Digital)Document_2015-12-13.scar
+0
-0
optim_to_lexique/README.md
optim_to_lexique/README.md
+1
-0
optim_to_lexique/build.properties
optim_to_lexique/build.properties
+9
-1
optim_to_lexique/samples/nf29a012optim_2015-12-13.scar
optim_to_lexique/samples/nf29a012optim_2015-12-13.scar
+0
-0
No files found.
Lexique_to_Opale/lexique_to_opale.ant
0 → 100644
View file @
ad45b180
<?xml version="1.0" encoding="UTF-8"?>
<project
name=
"project"
default=
"clean"
basedir=
"."
>
<property
file=
"build.properties"
/>
<property
name=
"InputPath"
value=
"test.zip"
/>
<property
name=
"OutputPath"
value=
"result.zip"
/>
<taskdef
name=
"jing"
classname=
"com.thaiopensource.relaxng.util.JingTask"
>
<classpath>
<pathelement
location=
"${libdir}/jing.jar"
/>
</classpath>
</taskdef>
<target
name=
"init"
>
<mkdir
dir=
"${outdir}"
/>
<chmod
perm=
"777"
dir=
"${outdir}"
></chmod>
<mkdir
dir=
"${srcdir}"
/>
<chmod
perm=
"777"
dir=
"${srcdir}"
></chmod>
</target>
<target
name=
"unzipSource"
depends=
"init"
>
<echo>
Fichier en entree : ${InputPath}
</echo>
<echo>
Fichier de sortie : ${OutputPath}
</echo>
<unzip
src=
"${InputPath}"
dest=
"${srcdir}"
></unzip>
</target>
<target
name=
"buildOutput"
depends=
"unzipSource"
>
<xslt
classpath=
"${libdir}/saxon9he.jar"
style=
"${xsldir}/termToRef.xsl"
basedir=
"${srcdir}"
destdir=
"${outdir}"
followsymlinks=
"false"
extension=
".ref"
>
<include
name=
"**/*.term"
/>
</xslt>
<!--<jing rngfile="${rngdir}/op_glos.rng">
<fileset dir="${outdir}">
<include name="**/*.ref"/>
</fileset>
</jing>-->
</target>
<target
name=
"exportOutput"
depends=
"buildOutput"
>
<copy
file=
"opale.wspmeta"
tofile=
"${outdir}/.wspmeta"
></copy>
<zip
basedir=
"${outdir}"
destfile=
"${OutputPath}"
encoding=
"UTF-8"
></zip>
</target>
<target
name=
"clean"
depends=
"exportOutput"
>
<delete
dir=
"${srcdir}"
/>
<delete
dir=
"${outdir}"
/>
</target>
</project>
lexique_to_hdoc/run.sh~
View file @
ad45b180
#!/bin/sh
lib
=
"lib"
ant
=
"lexique_to_opale.ant"
ant
=
"
test_
lexique_to_opale.ant"
antparam
=
"-Dprogram.param=
$1
"
#Recherche de java et controle que se soit une version SUN
...
...
lexique_to_hdoc/xsl/lexique_to_hdoc.xsl
View file @
ad45b180
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
<<<<<<<
HEAD
xmlns:sc=
"http://www.utc.fr/ics/scenari/v3/core"
xmlns:lx=
"scpf.org:lexicon"
xmlns:sp=
"http://www.utc.fr/ics/scenari/v3/primitive"
...
...
@@ -10,17 +8,11 @@
exclude-result-prefixes=
"xs"
version=
"2.0"
>
=======
xmlns:hodoc="http://www.utc.fr/ics/hdoc/xhtml"
exclude-result-prefixes="xs"
version="1.0">
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:output
method=
"xml"
indent=
"yes"
/>
<xsl:template
match=
"/"
>
<!-- <sc:item xmlns:sc="http://www.utc.fr/ics/scenari/v3/core">
<op:glos xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive" xmlns:op="utc.fr:ics/opale3"> -->
<html
xmlns:hodoc=
"http://www.utc.fr/ics/hdoc/xhtml"
>
<head>
<!--
...
...
@@ -38,7 +30,6 @@
<xsl:value-of
select=
"sc:item/lx:term/lx:termM/sp:name"
></xsl:value-of>
</h2>
<!--grammaire et type du mot en italique entre crochets -->
<<<<<<
< HEAD
<xsl:if
test=
"sc:item/lx:term/lx:termM/sp:grammar"
>
<i>
[
<xsl:apply-templates
select=
"sc:item/lx:term/lx:termM/sp:grammar"
></xsl:apply-templates>
]
...
...
@@ -49,12 +40,7 @@
[
<xsl:apply-templates
select=
"sc:item/lx:term/lx:termM/sp:type"
></xsl:apply-templates>
]
</i>
</xsl:if>
=======
<i>
[
<xsl:apply-templates
select=
"sc:item/lx:term/lx:termM/sp:grammar"
></xsl:apply-templates>
]
[
<xsl:apply-templates
select=
"sc:item/lx:term/lx:termM/sp:type"
></xsl:apply-templates>
]
</i>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<p
span=
"def_content"
>
<xsl:apply-templates
select=
"/sc:item/lx:term"
></xsl:apply-templates>
</p>
...
...
@@ -88,11 +74,9 @@
</xsl:template>
<xsl:template
match=
"lx:term"
>
<<<<<<
< HEAD
<!-- Definition(s) dans le span="def_content-->
=======
<!-- Definition(s) -->
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:choose>
<xsl:when
test=
"count(sp:def) > 1"
>
<ol>
...
...
@@ -112,44 +96,32 @@
GESTION DES DEFINITIONS
-->
<xsl:template
match=
"lx:
term/sp:def/lx:
definition"
mode=
"inList"
>
<xsl:template
match=
"lx:definition"
mode=
"inList"
>
<li>
<<<<<<
< HEAD
<xsl:apply-templates
select=
"sp:desc/lx:defTxt"
></xsl:apply-templates>
=======
<xsl:apply-templates
select=
"sp:desc/lx:defTxt/*"
></xsl:apply-templates>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:apply-templates
select=
"sp:source"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:moreInfo"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:desc/sc:extBlock"
></xsl:apply-templates>
</li>
</xsl:template>
<xsl:template
match=
"lx:term/sp:def/lx:definition"
>
<<<<<<
< HEAD
<xsl:apply-templates
select=
"sp:desc/lx:defTxt"
></xsl:apply-templates>
<xsl:template
match=
"lx:definition"
>
<xsl:apply-templates
select=
"sp:desc/lx:defTxt"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:source"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:moreInfo"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:desc/sc:extBlock"
></xsl:apply-templates>
=======
<xsl:apply-templates
select=
"sp:desc/lx:defTxt/*"
></xsl:apply-templates>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:apply-templates
select=
"sp:source"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:moreInfo"
></xsl:apply-templates>
</xsl:template>
<!-- Information Complémentaire -->
<xsl:template
match=
"sp:moreInfo"
>
<<<<<<
< HEAD
<p
span=
"moreinfo"
>
<i>
complément :
</i>
<br/>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:apply-templates
select=
"lx:moreInfoM/sp:title"
></xsl:apply-templates>
<ul>
<xsl:apply-templates
select=
"lx:txt/*"
></xsl:apply-templates>
</ul>
<<<<<<
< HEAD
</p>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
</xsl:template>
<xsl:template
match=
"lx:moreInfoM/sp:title"
>
...
...
@@ -158,7 +130,6 @@
</p>
</xsl:template>
<<<<<<
< HEAD
<!-- Copie du contenu de la balise lx:defTxt -->
<xsl:template
match=
"lx:defTxt/lx_defTxt_blocs/sc:para"
>
<p
class=
"def_text"
>
...
...
@@ -178,74 +149,44 @@
</p>
</xsl:template>
-->
=======
<!-- Copie du contenu de la balise lx:defTxt et moreInfo -->
<xsl:template
match=
"lx:defTxt//*|lx:defTxt//@*|sp:moreInfo/lx:txt//*|sp:moreInfo/lx:txt//@*"
>
<li>
<xsl:copy>
<xsl:apply-templates
select=
"node()|@*"
/>
</xsl:copy>
</li>
</xsl:template>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<!--
FILTRAGE DES CONTENUS DE LA DEFINITION
-->
<!-- Tableaux -->
<<<<<<
< HEAD
<xsl:template
match=
"sc:table"
>
<br/>
<table
border=
"1"
>
<caption>
<xsl:value-of
select=
"sc:caption"
/></caption>
<xsl:apply-templates
select=
"sc:row"
/>
=======
<xsl:template
match=
"sc:table"
priority=
"2"
>
<table>
<caption>
<xsl:value-of
select=
"sc:caption"
/></caption>
<xsl:apply-templates
select=
"sc:row"
/>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
</table>
</xsl:template>
<xsl:template
match=
"sc:row"
>
<tr>
<<<<<<
< HEAD
<xsl:for-each
select=
"sc:cell"
>
<td>
<xsl:value-of
select=
"sc:para"
/>
=======
<xsl:for-each
select=
"sc:cell/sc:para"
>
<td>
<xsl:value-of
select=
"."
/>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
</td>
</xsl:for-each>
</tr>
</xsl:template>
<<<<<<
< HEAD
<!--images -->
<xsl:template
match=
"lx:defTxt/sc:extBlock[@role='img']"
>
<xsl:variable
name=
"img_uri"
>
<xsl:value-of
select=
"@sc:refUri"
/></xsl:variable>
<img
scr=
"$img_uri"
>
</img>
</xsl:template>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<!-- Les liens vers d'autres termes,les imagettes ne sont pas reprise mais leur contenu oui
<xsl:template match="sc:inlineImg|sc:uLink" priority="2">
<xsl:apply-templates select="*|text()"></xsl:apply-templates>
</xsl:template>
<<<<<<< HEAD
reprend le contenu des citations Lexique et les met entre guillemets
=======
<!-- reprend le contenu des citations Lexique et les met entre guillemets
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:template match="sc:phrase[@role='quote']" priority="2">
« <xsl:apply-templates select="*|text()"></xsl:apply-templates> »
</xsl:template>
...
...
@@ -274,10 +215,7 @@
-->
<xsl:template
match=
"lx:definition/sp:source[@sc:refUri]"
>
<<<<<<
< HEAD
<br/>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<!--<xsl:variable name="path" select="resolve-uri(replace(@sc:refUri,'^/',''),concat('file:/',replace($srcdir,'\\','/')))"></xsl:variable>-->
<xsl:apply-templates
select=
"document(@sc:refUri)/sc:item/lx:source/lx:sourceM"
></xsl:apply-templates>
</xsl:template>
...
...
@@ -287,19 +225,14 @@
</xsl:template>
<xsl:template
match=
"lx:source/lx:sourceM[sp:url]"
>
<<<<<<
< HEAD
<p
span=
"source"
>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:text>
Source :
</xsl:text>
<xsl:variable
name=
"url"
>
<xsl:value-of
select=
"sp:url/text()"
></xsl:value-of></xsl:variable>
<a
href=
"$url"
>
<xsl:value-of
select=
"sp:title"
></xsl:value-of>
</a>
<<<<<<
< HEAD
</p>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
</xsl:template>
<xsl:template
match=
"lx:source/lx:sourceM[not(sp:url)]"
>
...
...
lexique_to_hdoc/xsl/lexique_to_hdoc.xsl~
View file @
ad45b180
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
<<<<<<<
HEAD
xmlns:sc=
"http://www.utc.fr/ics/scenari/v3/core"
xmlns:lx=
"scpf.org:lexicon"
xmlns:sp=
"http://www.utc.fr/ics/scenari/v3/primitive"
...
...
@@ -10,17 +8,11 @@
exclude-result-prefixes=
"xs"
version=
"2.0"
>
=======
xmlns:hodoc="http://www.utc.fr/ics/hdoc/xhtml"
exclude-result-prefixes="xs"
version="1.0">
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:output
method=
"xml"
indent=
"yes"
/>
<xsl:template
match=
"/"
>
<!-- <sc:item xmlns:sc="http://www.utc.fr/ics/scenari/v3/core">
<op:glos xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive" xmlns:op="utc.fr:ics/opale3"> -->
<html
xmlns:hodoc=
"http://www.utc.fr/ics/hdoc/xhtml"
>
<head>
<!--
...
...
@@ -38,7 +30,6 @@
<xsl:value-of
select=
"sc:item/lx:term/lx:termM/sp:name"
></xsl:value-of>
</h2>
<!--grammaire et type du mot en italique entre crochets -->
<<<<<<
< HEAD
<xsl:if
test=
"sc:item/lx:term/lx:termM/sp:grammar"
>
<i>
[
<xsl:apply-templates
select=
"sc:item/lx:term/lx:termM/sp:grammar"
></xsl:apply-templates>
]
...
...
@@ -49,12 +40,7 @@
[
<xsl:apply-templates
select=
"sc:item/lx:term/lx:termM/sp:type"
></xsl:apply-templates>
]
</i>
</xsl:if>
=======
<i>
[
<xsl:apply-templates
select=
"sc:item/lx:term/lx:termM/sp:grammar"
></xsl:apply-templates>
]
[
<xsl:apply-templates
select=
"sc:item/lx:term/lx:termM/sp:type"
></xsl:apply-templates>
]
</i>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<p
span=
"def_content"
>
<xsl:apply-templates
select=
"/sc:item/lx:term"
></xsl:apply-templates>
</p>
...
...
@@ -88,11 +74,9 @@
</xsl:template>
<xsl:template
match=
"lx:term"
>
<<<<<<
< HEAD
<!-- Definition(s) dans le span="def_content-->
=======
<!-- Definition(s) -->
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:choose>
<xsl:when
test=
"count(sp:def) > 1"
>
<ol>
...
...
@@ -112,44 +96,32 @@
GESTION DES DEFINITIONS
-->
<xsl:template
match=
"lx:
term/sp:def/lx:
definition"
mode=
"inList"
>
<xsl:template
match=
"lx:definition"
mode=
"inList"
>
<li>
<<<<<<
< HEAD
<xsl:apply-templates
select=
"sp:desc/lx:defTxt"
></xsl:apply-templates>
=======
<xsl:apply-templates
select=
"sp:desc/lx:defTxt/*"
></xsl:apply-templates>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:apply-templates
select=
"sp:source"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:moreInfo"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:desc/sc:extBlock"
></xsl:apply-templates>
</li>
</xsl:template>
<xsl:template
match=
"lx:term/sp:def/lx:definition"
>
<<<<<<
< HEAD
<xsl:apply-templates
select=
"sp:desc/lx:defTxt"
></xsl:apply-templates>
<xsl:template
match=
"lx:definition"
>
<xsl:apply-templates
select=
"sp:desc/lx:defTxt"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:source"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:moreInfo"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:desc/sc:extBlock"
></xsl:apply-templates>
=======
<xsl:apply-templates
select=
"sp:desc/lx:defTxt/*"
></xsl:apply-templates>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:apply-templates
select=
"sp:source"
></xsl:apply-templates>
<xsl:apply-templates
select=
"sp:moreInfo"
></xsl:apply-templates>
</xsl:template>
<!-- Information Complémentaire -->
<xsl:template
match=
"sp:moreInfo"
>
<<<<<<
< HEAD
<p
span=
"moreinfo"
>
<i>
complément :
</i>
<br/>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:apply-templates
select=
"lx:moreInfoM/sp:title"
></xsl:apply-templates>
<ul>
<xsl:apply-templates
select=
"lx:txt/*"
></xsl:apply-templates>
</ul>
<<<<<<
< HEAD
</p>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
</xsl:template>
<xsl:template
match=
"lx:moreInfoM/sp:title"
>
...
...
@@ -158,7 +130,6 @@
</p>
</xsl:template>
<<<<<<
< HEAD
<!-- Copie du contenu de la balise lx:defTxt -->
<xsl:template
match=
"lx:defTxt/lx_defTxt_blocs/sc:para"
>
<p
class=
"def_text"
>
...
...
@@ -178,74 +149,44 @@
</p>
</xsl:template>
-->
=======
<!-- Copie du contenu de la balise lx:defTxt et moreInfo -->
<xsl:template
match=
"lx:defTxt//*|lx:defTxt//@*|sp:moreInfo/lx:txt//*|sp:moreInfo/lx:txt//@*"
>
<li>
<xsl:copy>
<xsl:apply-templates
select=
"node()|@*"
/>
</xsl:copy>
</li>
</xsl:template>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<!--
FILTRAGE DES CONTENUS DE LA DEFINITION
-->
<!-- Tableaux -->
<<<<<<
< HEAD
<xsl:template
match=
"sc:table"
>
<br/>
<table
border=
"1"
>
<caption>
<xsl:value-of
select=
"sc:caption"
/></caption>
<xsl:apply-templates
select=
"sc:row"
/>
=======
<xsl:template
match=
"sc:table"
priority=
"2"
>
<table>
<caption>
<xsl:value-of
select=
"sc:caption"
/></caption>
<xsl:apply-templates
select=
"sc:row"
/>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
</table>
</xsl:template>
<xsl:template
match=
"sc:row"
>
<tr>
<<<<<<
< HEAD
<xsl:for-each
select=
"sc:cell"
>
<td>
<xsl:value-of
select=
"sc:para"
/>
=======
<xsl:for-each
select=
"sc:cell/sc:para"
>
<td>
<xsl:value-of
select=
"."
/>
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
</td>
</xsl:for-each>
</tr>
</xsl:template>
<<<<<<
< HEAD
<!--images -->
<xsl:template
match=
"sc:extBlock[@role='img']"
>
<xsl:template
match=
"
lx:defTxt/
sc:extBlock[@role='img']"
>
<xsl:variable
name=
"img_uri"
>
<xsl:value-of
select=
"@sc:refUri"
/></xsl:variable>
<img
scr=
"$img_uri"
>
</img>
</xsl:template>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<!-- Les liens vers d'autres termes,les imagettes ne sont pas reprise mais leur contenu oui
<xsl:template match="sc:inlineImg|sc:uLink" priority="2">
<xsl:apply-templates select="*|text()"></xsl:apply-templates>
</xsl:template>
<<<<<<< HEAD
reprend le contenu des citations Lexique et les met entre guillemets
=======
<!-- reprend le contenu des citations Lexique et les met entre guillemets
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:template match="sc:phrase[@role='quote']" priority="2">
« <xsl:apply-templates select="*|text()"></xsl:apply-templates> »
</xsl:template>
...
...
@@ -274,10 +215,7 @@
-->
<xsl:template
match=
"lx:definition/sp:source[@sc:refUri]"
>
<<<<<<
< HEAD
<br/>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<!--<xsl:variable name="path" select="resolve-uri(replace(@sc:refUri,'^/',''),concat('file:/',replace($srcdir,'\\','/')))"></xsl:variable>-->
<xsl:apply-templates
select=
"document(@sc:refUri)/sc:item/lx:source/lx:sourceM"
></xsl:apply-templates>
</xsl:template>
...
...
@@ -287,19 +225,14 @@
</xsl:template>
<xsl:template
match=
"lx:source/lx:sourceM[sp:url]"
>
<<<<<<
< HEAD
<p
span=
"source"
>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
<xsl:text>
Source :
</xsl:text>
<xsl:variable
name=
"url"
>
<xsl:value-of
select=
"sp:url/text()"
></xsl:value-of></xsl:variable>
<a
href=
"$url"
>
<xsl:value-of
select=
"sp:title"
></xsl:value-of>
</a>
<<<<<<
< HEAD
</p>
=======
>>>>>>> e6164602e4169b2cb7eaf6215434ae0ed8be47a3
</xsl:template>
<xsl:template
match=
"lx:source/lx:sourceM[not(sp:url)]"
>
...
...
lexique_to_opale/README.md
View file @
ad45b180
# Converter lexique_to_opale
In order to use this converter, follow those steps :
0.
Create an input and an output directory
1.
Copy your Lexique file(s) (.scar or .zip) into the input directory.
2.
Execute the run that correspond to your OS.
3.
You will find the result into the output directory. The names of the output are linked to the hour it was processed.
lexique_to_opale/samples/Exemple_2015-12-5.scar
0 → 100644
View file @
ad45b180
File added
lexique_to_opale/samples/second.scar
0 → 100644
View file @
ad45b180
File added
lexique_to_optim/README.md
View file @
ad45b180
# Converter lexique_to_optim
In order to use this converter, follow those steps :
0.
Create an input and an output dir
1.
Copy your Lexique file(s) (.scar or .zip) into the input directory.
2.
Execute the run that correspond to your OS.
3.
You will find the result into the output directory. The name of the output files depends of the hour it was processed.
lexique_to_optim/samples/Exemple_2015-12-5.scar
0 → 100644
View file @
ad45b180
File added
lexique_to_optim/samples/second.scar
0 → 100644
View file @
ad45b180
File added
opale_to_hdoc/input/sample.scar
0 → 100644
View file @
ad45b180
File added
opale_to_lexique/README.md
View file @
ad45b180
# Converter opale_to_lexique
In order to use this converter, follow those steps :
0.
Create an input and an output folder
1.
Copy your Opale file(s) (.scar or .zip) into the input directory.
2.
Execute the run that correspond to your OS.
3.
You will find the result into the output directory.The name of the output files depends of the hour it was processed.
opale_to_lexique/samples/buc1-Buckland-WhatIsA(Digital)Document_2015-12-13.scar
0 → 100644
View file @
ad45b180
File added
optim_to_lexique/README.md
View file @
ad45b180
# Converter optim_to_lexique
In order to use this converter, follow those steps :
0.
Create input and output dir
1.
Copy your Optim files (.scar or .zip) into the input directory.
2.
Execute the run that correspond to your OS.
3.
You will find the result into the output directory. The name of the output files depends of the hour it was processed.
optim_to_lexique/build.properties
View file @
ad45b180
<<<<<<<
HEAD
:
Lexique_to_Opale/build.properties
libdir
=
${basedir}/lib
rngdir
=
${basedir}/rng
xsldir
=
${basedir}/xsl
srcdir
=
${basedir}/in
outdir
=
${basedir}/out
=======
libdir
=
${basedir}/lib
rngdir
=
${basedir}/rng
xsldir
=
${basedir}/xsl
srcdir
=
${basedir}/in
outdir
=
${basedir}/out
InputPath
=
${basedir}/input
OutputPath
=
${basedir}/output
\ No newline at end of file
OutputPath
=
${basedir}/output
>>>>>>>
b66d52946dfff086938fa935814a389e5c12c53e
:
optim_to_lexique/build.properties
optim_to_lexique/samples/nf29a012optim_2015-12-13.scar
0 → 100644
View file @
ad45b180
File added
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