cziegeler 02/01/24 00:40:19 Modified: src/webapp/stylesheets svg-samples2html.xsl Log: Fixed the welcome-svg sample. Oh well, again this is the big Xalan Bug which does not report namespaces correctly for DOM trees. Its there for ages and nooen can fix it. What a mess. Revision Changes Path 1.2 +6 -7 xml-cocoon2/src/webapp/stylesheets/svg-samples2html.xsl Index: svg-samples2html.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/stylesheets/svg-samples2html.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- svg-samples2html.xsl 3 Jan 2002 12:31:46 -0000 1.1 +++ svg-samples2html.xsl 24 Jan 2002 08:40:19 -0000 1.2 @@ -1,25 +1,24 @@ <?xml version="1.0"?> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:svg="http://www.w3.org/2000/svg"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink"> <xsl:template match="/"> <html> <head> - <title>Apache Cocoon @version@</title> + <title>Apache Cocoon 2.0.1-dev</title> </head> <body bgcolor="#ffffff" link="#0086b2" vlink="#00698c" alink="#743e75"> <p align="center"><font size="+0" face="arial,helvetica,sanserif" color="#000000">The Apache Software Foundation is proud to present...</font></p> <p align="center"><img border="0" src="images/cocoon.gif"/></p> - <p align="center"><font size="+0" face="arial,helvetica,sanserif" color="#000000"><b>version @version@</b></font></p> + <p align="center"><font size="+0" face="arial,helvetica,sanserif" color="#000000"><b>version 2.0.1-dev</b></font></p> <xsl:apply-templates/> <p align="center"> <font size="-1"> - Copyright © @year@ <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/> + Copyright © 1999-2002 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/> All rights reserved. </font> </p> @@ -29,7 +28,7 @@ <xsl:template name="generate-group-heading"> <xsl:param name="position"/> - <svg:svg width="200" height="15"> + <svg:svg width="200" height="15" xmlns:svg="http://www.w3.org/2000/svg"> <xsl:choose> <xsl:when test="$position = 'left'"> <svg:g style="stroke: black; stroke-width: 2px;"> @@ -55,7 +54,7 @@ <xsl:template name="generate-item"> <xsl:param name="position"/> - <svg:svg width="200" height="15"> + <svg:svg width="200" height="15" xmlns:svg="http://www.w3.org/2000/svg"> <xsl:choose> <xsl:when test="$position = 'left'"> <svg:g style="stroke: black; stroke-width: 2px;">
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]