Author: rgardler
Date: Fri Jan 13 05:29:33 2006
New Revision: 368711
URL: http://svn.apache.org/viewcvs?rev=368711&view=rev
Log:
use locationmap
Added:
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/locationmap.xml
(with props)
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook-to-document.xsl
- copied unchanged from r368705,
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook2document.xsl
Removed:
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook2document.xsl
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/input.xmap
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/input.xmap
URL:
http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/input.xmap?rev=368711&r1=368710&r2=368711&view=diff
==============================================================================
---
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/input.xmap
(original)
+++
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/input.xmap
Fri Jan 13 05:29:33 2006
@@ -54,25 +54,25 @@
<map:when test="docbook-v4.1.2">
<map:generate src="{lm:project.{../../1}.xml}" />
- <map:transform src="resources/stylesheets/sdocbook2document.xsl" />
+ <map:transform
src="{lm:simplifiedDocbook.transform.sdocbook.document}" />
<map:serialize type="xml-document"/>
</map:when>
<map:when test="docbook-v4.2">
<map:generate src="{lm:project.{../../1}.xml}" />
- <map:transform src="resources/stylesheets/sdocbook2document.xsl" />
+ <map:transform
src="{lm:simplifiedDocbook.transform.sdocbook.document}" />
<map:serialize type="xml-document"/>
</map:when>
<map:when test="sdocbook-v1.0">
<map:generate src="{lm:project.{../../1}.xml}" />
- <map:transform src="resources/stylesheets/sdocbook2document.xsl" />
+ <map:transform
src="{lm:simplifiedDocbook.transform.sdocbook.document}" />
<map:serialize type="xml-document"/>
</map:when>
<map:when test="sdocbook-v4.1.2.5">
<map:generate src="{lm:project.{../../1}.xml}" />
- <map:transform
src="{forrest:plugins}/org.apache.forrest.plugin.input.simplifiedDocbook/resources/stylesheets/sdocbook2document.xsl"
/>
+ <map:transform
src="{lm:simplifiedDocbook.transform.sdocbook.document}" />
<map:serialize type="xml-document"/>
</map:when>
</map:select>
Added:
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/locationmap.xml
URL:
http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/locationmap.xml?rev=368711&view=auto
==============================================================================
---
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/locationmap.xml
(added)
+++
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/locationmap.xml
Fri Jan 13 05:29:33 2006
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2002-2005 The Apache Software Foundation or its licensors,
+ as applicable.
+
+ Licensed 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.
+-->
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+
+ <components>
+ <matchers default="lm">
+ <matcher
+ name="lm"
+ src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+ </matchers>
+ <selectors default="exists">
+ <selector name="exists" logger="sitemap.selector.exists"
+ src="org.apache.forrest.sourceexists.SourceExistsSelector"
/>
+ </selectors>
+ </components>
+
+ <locator>
+ <match pattern="simplifiedDocbook.transform.*.*">
+ <location src="resources/stylesheets/{1}-to-{2}.xsl" />
+ </match>
+ </locator>
+</locationmap>
Propchange:
forrest/trunk/plugins/org.apache.forrest.plugin.input.simplifiedDocbook/locationmap.xml
------------------------------------------------------------------------------
svn:eol-style = native