Skip to content
GitLab
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
71781931
Commit
71781931
authored
Jan 09, 2016
by
Drain
Browse files
[Opale2Optim] Fixed absolute paths bug in get_ressources.ant
parent
eced64ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
opale_to_hdoc/xsl/find_ressources.xsl
View file @
71781931
...
...
@@ -7,7 +7,7 @@
xmlns:sp=
"http://www.utc.fr/ics/scenari/v3/primitive"
xmlns:op=
"utc.fr:ics/opale3"
>
<xsl:variable
name=
"ProjectFileName"
select=
"opale_to_hdoc"
/>
<xsl:variable
name=
"ProjectFileName"
select=
"
'
opale_to_hdoc
'
"
/>
<xsl:template
match=
"sc:item"
>
<project
name=
'Opale2Hdoc'
default=
"main"
>
...
...
@@ -20,7 +20,7 @@
<xsl:template
match=
"sp:res[@sc:refUri]"
>
<xsl:variable
name=
"link"
select=
"@sc:refUri"
></xsl:variable>
<xsl:variable
name=
"name"
select=
"tokenize($link, '/')[last()]"
></xsl:variable>
<xsl:variable
name=
"link2"
select=
"
substring-after
($link, concat($ProjectFileName, '/'))"
></xsl:variable>
<xsl:variable
name=
"link2"
select=
"
tokenize
($link, concat($ProjectFileName, '/'))
[last()]
"
></xsl:variable>
<copy
file=
"{$link2}/{$name}"
todir=
"output/hdoc/re"
/>
</xsl:template>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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