Mercurial > dive4elements > river
annotate artifacts/contrib/extract-help.xsl @ 8452:b9a8463ac636
(issue1732) When duplication wsplgen artificats fix shapefile layers
The shapefile layers are copied but still contained the old names
and paths and the wms layer refered to layers from the old
artifact. This was broken.
Now the old artificat id is replaced by the new artifact id in the
mapfiles.
Duplication most wsplgen artifacts
should now work.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 28 Oct 2014 18:52:35 +0100 |
parents | 5aa05a7a34b7 |
children |
rev | line source |
---|---|
4565
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
2 <xsl:stylesheet |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
3 version="1.0" |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
5 |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
6 <xsl:output method="text"/> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
7 |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
8 <xsl:param name="base-url">https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe</xsl:param> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
9 <xsl:param name="module">Fixierungsanalyse</xsl:param> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
10 |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
11 <xsl:template match="//state"> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
12 <xsl:value-of select="@helpText"/>=<xsl:value-of |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
13 select="concat($base-url, '/', $module, '#', @helpText)"/> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
14 <xsl:text> </xsl:text> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
15 </xsl:template> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
16 |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
17 <xsl:template match="text()"/> |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
18 |
ce6bea03156c
Add help anchors for fix analysis
Sascha L. Teichmann <teichmann@intevation.de>
parents:
diff
changeset
|
19 </xsl:stylesheet> |