\r
## Levels\r
# Slc\r
-log4j.logger.org.argeo.slc=DEBUG\r
+log4j.logger.org.argeo.slc=TRACE\r
\r
# Spring\r
log4j.logger.org.springframework=WARN\r
<c:forEach items="${resultCollections}" var="resultCollection">\r
<tr>\r
<td>${resultCollection.id}</td>\r
- <td><a\r
- href="resultCollectionView.web?id=${resultCollection.id}">view</a></td>\r
+ <td><a
+ href="resultCollectionView.web?id=${resultCollection.id}">view</a></td>
+ <td><a
+ href="resultCollectionViewXml.xslt?id=${resultCollection.id}">xml</a></td>
</tr>\r
</c:forEach>\r
</table>\r
</c:otherwise>\r
</c:choose>\r
<td style="padding-right: 5px"><a href="resultView.web?uuid=${result.uuid}">view</a></td>\r
- <td><a href="resultView.xslt?uuid=${result.uuid}">xsl</a></td>\r
+ <td><a href="resultView.xslt?uuid=${result.uuid}">xsl</a></td>
+ <td><a href="resultViewXml.xslt?uuid=${result.uuid}">xml</a></td>
</tr>\r
</c:forEach>\r
</table>\r
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans"\r
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
- xmlns:aop="http://www.springframework.org/schema/aop"\r
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"\r
- default-lazy-init="true">
-
- <import resource="classpath:/org/argeo/slc/server/spring/slc-web-servlet.xml"/>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:aop="http://www.springframework.org/schema/aop"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
+
+ <import
+ resource="classpath:/org/argeo/slc/server/spring/slc-web-servlet.xml" />
</beans>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>\r
<beans xmlns="http://www.springframework.org/schema/beans"\r
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"\r
- default-lazy-init="true">\r
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
\r
<import resource="classpath:/org/argeo/slc/server/spring/slc-ws-servlet.xml"/>
</beans>
\ No newline at end of file
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans"\r
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
- xmlns:aop="http://www.springframework.org/schema/aop"\r
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"\r
- default-lazy-init="true">\r
-\r
- <import resource="classpath:/org/argeo/slc/server/spring/slc-xslt-servlet.xml"/>
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:aop="http://www.springframework.org/schema/aop"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
+
+ <import
+ resource="classpath:/org/argeo/slc/server/spring/slc-xslt-servlet.xml" />
+
+ <bean name="/resultView.xslt"
+ class="org.argeo.slc.web.mvc.result.ResultViewController">
+ <constructor-arg ref="testResultDao" />
+ <property name="viewName" value="resultView" />
+ </bean>
+
+ <bean name="/resultViewXml.xslt"
+ class="org.argeo.slc.web.mvc.result.ResultViewController">
+ <constructor-arg ref="testResultDao" />
+ <property name="viewName" value="viewXml" />
+ </bean>
+
+ <bean name="/resultCollectionViewXml.xslt"
+ class="org.argeo.slc.web.mvc.result.ResultCollectionViewController">
+ <constructor-arg ref="testResultCollectionDao" />
+ <property name="viewName" value="viewXml" />
+ </bean>
+
+
</beans>
\ No newline at end of file
xmlns:slc="http://argeo.org/projects/slc/schemas"\r
exclude-result-prefixes="slc">\r
\r
- <xsl:output method="html" omit-xml-declaration="yes" />\r
+ <xsl:output method="html" omit-xml-declaration="yes" />
+
\r
<xsl:template match="/">\r
<html>\r
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<xsl:stylesheet version="1.0"\r
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
+ xmlns:slc="http://argeo.org/projects/slc/schemas"\r
+ exclude-result-prefixes="slc">\r
+\r
+ <xsl:template match="/">
+ <xsl:copy-of select="*"/>\r
+ </xsl:template>\r
+</xsl:stylesheet>
\ No newline at end of file