cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: cvs commit: xml-cocoon2/src/webapp/stylesheets svg-samples2html.xsl
Date Thu, 24 Jan 2002 12:48:23 GMT
Carsten,

Do we have a stripped down sample that we can send to the Xalan guys?

Thanks,
dims

--- cziegeler@apache.org wrote:
> 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:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-cvs-help@xml.apache.org
> 


=====
Davanum Srinivas - http://jguru.com/dims/

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message