Mercurial > dive4elements > gnv-client
annotate gnv/src/main/webapp/WEB-INF/config/templates/describe-ui-static.xsl @ 389:416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
gnv/trunk@511 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 06 Jan 2010 09:13:45 +0000 |
parents | 6e16dc005704 |
children | 14eecfde4607 |
rev | line source |
---|---|
18
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 <xsl:stylesheet version="1.0" |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
4 xmlns="http://www.w3.org/2002/xforms" |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
5 xmlns:xform="http://www.w3.org/2002/xforms" |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
6 xmlns:art="http://www.intevation.de/2009/artifacts"> |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
7 <xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="no"/> |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
8 |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
9 <xsl:template match="xform:select"> |
18
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
10 <xsl:variable name="selectName" select="@ref"/> |
387
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
11 <div id="timeseriesfilter"> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
12 <table> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
13 <tr> |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
14 <th class="parameter"><xsl:value-of select="xform:label"/>:</th> |
387
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
15 <td> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
16 <table> |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
17 <xsl:apply-templates select="xform:choices/xform:item" mode="table"/> |
387
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
18 </table> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
19 </td> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
20 </tr> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
21 </table> |
18
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
22 </div> |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
23 </xsl:template> |
388
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
24 |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
25 |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
26 <xsl:template match="xform:item" mode="table"> |
388
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
27 <xsl:if test="@selected = 'true'"> |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
28 <tr> |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
29 <td class="value"><xsl:value-of select="./xform:label"/></td> |
388
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
30 </tr> |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
31 </xsl:if> |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
32 </xsl:template> |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
33 |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
34 |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
35 <xsl:template match="xform:select1"> |
18
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
36 <xsl:variable name="selectName" select="@ref"/> |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
37 <div id="timeseriesfilter"> |
387
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
38 <table> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
39 <tr> |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
40 <th class="parameter"><xsl:value-of select="xform:label"/>:</th> |
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
41 <td><xsl:value-of select="./xform:choices/xform:item/xform:label" /></td> |
387
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
42 </tr> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
43 </table> |
18
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
44 </div> |
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
45 </xsl:template> |
152
330871ca1fd3
Added uniform Visualization of Single Input-Elements in GUI. issue55
Tim Englich <tim.englich@intevation.de>
parents:
39
diff
changeset
|
46 |
388
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
47 |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
48 <xsl:template match="xform:group"> |
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
49 <xsl:variable name="inputName" select="xform:label"/> |
387
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
50 <div id="timeseriesfilter"> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
51 <table> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
52 <tr> |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
53 <th class="parameter"><xsl:value-of select="xform:label"/>:</th> |
387
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
54 <td> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
55 <table> |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
56 <xsl:apply-templates select="xform:input" mode="table"/> |
387
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
57 </table> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
58 </td> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
59 </tr> |
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
60 </table> |
21
17c92f1f014b
Some GUI improvements done
Tim Englich <tim.englich@intevation.de>
parents:
18
diff
changeset
|
61 </div> |
18
87002cbd194c
Static UI -integration an some refactoringwork done
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
62 </xsl:template> |
388
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
63 |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
64 |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
65 <xsl:template match="xform:input" mode="table"> |
388
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
66 <tr> |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
67 <td class="value"> |
389
416ff31f6273
Removed local-name() method from xsl stylesheet and adjusted xpathes while reading xml documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
388
diff
changeset
|
68 <xsl:value-of select="./xform:label"/> <xsl:value-of select="./xform:value"/> |
388
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
69 </td> |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
70 </tr> |
152
330871ca1fd3
Added uniform Visualization of Single Input-Elements in GUI. issue55
Tim Englich <tim.englich@intevation.de>
parents:
39
diff
changeset
|
71 </xsl:template> |
388
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
72 |
6e16dc005704
Removed for-each statements and replaced them with templates.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
387
diff
changeset
|
73 |
387
6de60d996475
First step of changing the operation concept. Static nodes will be rendered as text instead of disabled xforms.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
162
diff
changeset
|
74 </xsl:stylesheet> |