Author: crossley
Date: Wed Oct 19 23:15:58 2005
New Revision: 326835
URL: http://svn.apache.org/viewcvs?rev=326835&view=rev
Log:
strip-default-namespace.xsl to exclude the default namespace.
This is part of the workaround for FOR-675
but might be useful in other situations too.
Added:
forrest/trunk/main/webapp/resources/stylesheets/strip-default-namespace.xsl
(with props)
Modified:
forrest/trunk/main/webapp/locationmap-transforms.xml
Modified: forrest/trunk/main/webapp/locationmap-transforms.xml
URL:
http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/locationmap-transforms.xml?rev=326835&r1=326834&r2=326835&view=diff
==============================================================================
--- forrest/trunk/main/webapp/locationmap-transforms.xml (original)
+++ forrest/trunk/main/webapp/locationmap-transforms.xml Wed Oct 19 23:15:58
2005
@@ -95,7 +95,11 @@
<match pattern="transform.xml.xml-namespace-stripped">
<location
src="{forrest:context}/skins/common/xslt/html/strip_namespaces.xsl" />
</match>
-
+
+ <match pattern="transform.xml.xml-default-namespace-stripped">
+ <location src="{forrest:stylesheets}/strip-default-namespace.xsl" />
+ </match>
+
<match pattern="transform.html.broken-links">
<location src="resources/stylesheets/declare-broken-site-links.xsl" />
</match>
Added:
forrest/trunk/main/webapp/resources/stylesheets/strip-default-namespace.xsl
URL:
http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/resources/stylesheets/strip-default-namespace.xsl?rev=326835&view=auto
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/strip-default-namespace.xsl
(added)
+++ forrest/trunk/main/webapp/resources/stylesheets/strip-default-namespace.xsl
Wed Oct 19 23:15:58 2005
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 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.
+-->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ exclude-result-prefixes="#default"
+>
+
+ <xsl:import href="copyover.xsl"/>
+
+</xsl:stylesheet>
Propchange:
forrest/trunk/main/webapp/resources/stylesheets/strip-default-namespace.xsl
------------------------------------------------------------------------------
svn:eol-style = native