Author: sgoeschl
Date: Thu Oct 15 21:35:27 2009
New Revision: 825671
URL: http://svn.apache.org/viewvc?rev=825671&view=rev
Log:
Updated the documentation
Modified:
turbine/fulcrum/trunk/xslt/xdocs/changes.xml
turbine/fulcrum/trunk/xslt/xdocs/index.xml
Modified: turbine/fulcrum/trunk/xslt/xdocs/changes.xml
URL:
http://svn.apache.org/viewvc/turbine/fulcrum/trunk/xslt/xdocs/changes.xml?rev=825671&r1=825670&r2=825671&view=diff
==============================================================================
--- turbine/fulcrum/trunk/xslt/xdocs/changes.xml (original)
+++ turbine/fulcrum/trunk/xslt/xdocs/changes.xml Thu Oct 15 21:35:27 2009
@@ -22,7 +22,6 @@
<title>Fulcrum XSLT</title>
<author email="[email protected]">Eric Pugh</author>
</properties>
-
<body>
<release version="1.0.4" date="in Subversion">
<action type="add" dev="sgoeschl" date="2009-10-14">
@@ -43,7 +42,6 @@
Initial conversion to Avalon component.
</action>
</release>
-
- </body>
+ </body>
</document>
Modified: turbine/fulcrum/trunk/xslt/xdocs/index.xml
URL:
http://svn.apache.org/viewvc/turbine/fulcrum/trunk/xslt/xdocs/index.xml?rev=825671&r1=825670&r2=825671&view=diff
==============================================================================
--- turbine/fulcrum/trunk/xslt/xdocs/index.xml (original)
+++ turbine/fulcrum/trunk/xslt/xdocs/index.xml Thu Oct 15 21:35:27 2009
@@ -1,78 +1,54 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="utf-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
-->
-
<document>
-
<properties>
<title>XSLT Component</title>
- <author email="[email protected]">Eric Pugh</author>
+ <author email="[email protected]">Eric
+ Pugh</author>
</properties>
-
<body>
-
- <section name="Overview">
- <p>
- This Service functions as a XSLT component.
- </p>
-
- <p>
- It is written for use in Turbine but it can be used in Avalon compatible
container.
- </p>
- </section>
-
-<section name="Configuration">
-
- <p>
- First, here is the role configuration.
- </p>
-
- <source>
- <![CDATA[
- <role
- name="org.apache.fulcrum.xslt.XSLTService"
- shorthand="xslt"
- default-class="org.apache.fulcrum.xslt.DefaultXSLTService"/>
- ]]>
- </source>
-
- <p>
- And here is the configuration:
- </p>
- <source>
-
- <![CDATA[
+ <section name="Overview">
+ <p>This Service functions as a XSLT component.</p>
+ <p>It is written for use in Turbine but it can be used in
+ Avalon compatible container.</p>
+ </section>
+ <section name="Configuration">
+ <p>First, here is the role configuration.</p>
+ <source>
+ <![CDATA[
+<role
+ name="org.apache.fulcrum.xslt.XSLTService"
+ shorthand="xslt"
+ default-class="org.apache.fulcrum.xslt.DefaultXSLTService"/>
+]]>
+</source>
+ <p>And here is the configuration:</p>
+ <source>
+ <![CDATA[
<xslt path="/WEB-INF/stylesheets" cache="true"/>
]]>
- </source>
-
- </section>
-
- <section name="Usage">
-
-
- <p>
- Please look at the org.apache.turbine.modules.layouts.VelocityXslLayout
for an example usage pattern.
-
- </p>
-
- </section>
-
-</body>
+</source>
+ </section>
+ <section name="Usage">
+ <p>Please note that the XSL files must have an "xslt"
+ extension otherwise they are not found</p>
+ </section>
+ </body>
</document>