Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/ChangeOptionsAction.java @ 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 | 890d7a41ab93 |
children | 55dae5bb76db |
comparison
equal
deleted
inserted
replaced
388:6e16dc005704 | 389:416ff31f6273 |
---|---|
87 true); | 87 true); |
88 | 88 |
89 Node currentUI = artifactDescription.getCurrentUI(); | 89 Node currentUI = artifactDescription.getCurrentUI(); |
90 XSLTransformer transformer = new XSLTransformer(); | 90 XSLTransformer transformer = new XSLTransformer(); |
91 String ui = transformer.transform(new XMLUtils().getNodeXPath( | 91 String ui = transformer.transform(new XMLUtils().getNodeXPath( |
92 currentUI, "dynamic"), "UTF-8", request | 92 currentUI, "art:dynamic"), "UTF-8", request |
93 .getRealPath("WEB-INF/config/templates/describe-ui.xsl")); | 93 .getRealPath("WEB-INF/config/templates/describe-ui.xsl")); |
94 | 94 |
95 request.setAttribute("ui", ui); | 95 request.setAttribute("ui", ui); |
96 | 96 |
97 String staticUI = transformer | 97 String staticUI = transformer |
98 .transform( | 98 .transform( |
99 new XMLUtils().getNodeXPath(currentUI, "static"), | 99 new XMLUtils().getNodeXPath(currentUI, "art:static"), |
100 "UTF-8", | 100 "UTF-8", |
101 request | 101 request |
102 .getRealPath("WEB-INF/config/templates/describe-ui-static.xsl")); | 102 .getRealPath("WEB-INF/config/templates/describe-ui-static.xsl")); |
103 request.setAttribute("staticui", staticUI); | 103 request.setAttribute("staticui", staticUI); |
104 request.setAttribute("furthertargets", | 104 request.setAttribute("furthertargets", |