You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Vadim Gritsenko <va...@verizon.net> on 2002/03/06 18:16:46 UTC

FW: cvs commit: xml-cocoon2/src/documentation/stylesheets/printer_skin document2html.xsl

Nicola,

Just in case you did not get my previous email: Could you please fix the
issue, one way or another?

PS Sorry if you see this email second time...

Vadim

> -----Original Message-----
> From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> Sent: Tuesday, March 05, 2002 9:23 PM
> To: 'nicolaken@apache.org'
> Subject: FW: cvs commit: xml-
> cocoon2/src/documentation/stylesheets/printer_skin document2html.xsl
> 
> Ken,
> 
> I'm not sure why this change is necessary... But I'm sure that you
forgot to
> test this change: now docs served by Cocoon
> (http://localhost:8080/cocoon/documentation/) are broken, because
other
> stylesheet(s) (at least site2xhtml.xsl) expects document element
instead of
> html:
> 
> Index: site2xhtml.xsl
> ===================================================================
> RCS file: /home/cvspublic/xml-
> cocoon2/src/documentation/stylesheets/site2xhtml.xsl,v
> retrieving revision 1.5
> diff -u -r1.5 site2xhtml.xsl
> --- site2xhtml.xsl	23 Feb 2002 23:25:03 -0000	1.5
> +++ site2xhtml.xsl	6 Mar 2002 02:23:46 -0000
> @@ -99,7 +99,7 @@
>  		</td>
>  		<td>
>  			<table border="0" cellpadding="0"
cellspacing="15">
> -				<tr><td><xsl:copy-of
> select="/site/document/body/node()|@*"/></td></tr>
> +				<tr><td><xsl:copy-of
> select="/site/html/body/node()|@*"/></td></tr>
>  			</table>
>  		</td>
>  	</tr>
> 
> 
> Regards,
> Vadim
> 
> > From: nicolaken@apache.org [mailto:nicolaken@apache.org]
> >
> > nicolaken    02/03/05 07:14:09
> >
> >   Modified:    src/documentation/stylesheets document2html.xsl
> >                src/documentation/stylesheets/printer_skin
document2html.xsl
> >   Log:
> >   Now outputs "html" as main tag instead of "document", as suggested
by
> > Piroumian, Konstantin <KP...@flagship.ru>
> >
> >   Revision  Changes    Path
> >   1.3       +2 -2      xml-
> > cocoon2/src/documentation/stylesheets/document2html.xsl
> >
> >   Index: document2html.xsl
> >
===================================================================
> >   RCS file: /home/cvs/xml-
> > cocoon2/src/documentation/stylesheets/document2html.xsl,v
> >   retrieving revision 1.2
> >   retrieving revision 1.3
> >   diff -u -r1.2 -r1.3
> >   --- document2html.xsl	23 Feb 2002 23:25:03 -0000	1.2
> >   +++ document2html.xsl	5 Mar 2002 15:14:09 -0000	1.3
> >   @@ -6,7 +6,7 @@
> >    	<xsl:template match="/">
> >    		<!-- checks if this is the included document to avoid
neverending
> > loop -->
> >    		<xsl:if test="not(book)">
> >   -			<document>
> >   +			<html>
> >    				<xsl:choose>
> >    					<xsl:when
test="document/header/title">
> >    						<title>
> >   @@ -20,7 +20,7 @@
> >    				<body text="#000000" link="#039acc"
vlink="#0086b2"
> > alink="#cc0000" topmargin="4" leftmargin="4" marginwidth="4"
> marginheight="4"
> > bgcolor="#ffffff">
> >    					<xsl:apply-templates/>
> >    				</body>
> >   -			</document>
> >   +			</html>
> >    		</xsl:if>
> >    		<xsl:if test="book">
> >    			<xsl:apply-templates/>
> >
> >
> >
> >   1.3       +2 -2      xml-
> > cocoon2/src/documentation/stylesheets/printer_skin/document2html.xsl
> >
> >   Index: document2html.xsl
> >
===================================================================
> >   RCS file: /home/cvs/xml-
> >
cocoon2/src/documentation/stylesheets/printer_skin/document2html.xsl,v
> >   retrieving revision 1.2
> >   retrieving revision 1.3
> >   diff -u -r1.2 -r1.3
> >   --- document2html.xsl	8 Jan 2002 10:34:06 -0000	1.2
> >   +++ document2html.xsl	5 Mar 2002 15:14:09 -0000	1.3
> >   @@ -11,7 +11,7 @@
> >     <xsl:template match="/">
> >      <!-- checks if this is the included document to avoid
neverending loop
> --
> > >
> >      <xsl:if test="not(book)">
> >   -      <document>
> >   +      <html>
> >          <xsl:choose>
> >    		<xsl:when test="document/header/title">
> >    		      <title><xsl:value-of
> > select="document/header/title"/></title>
> >   @@ -27,7 +27,7 @@
> >            <xsl:apply-templates/>
> >
> >          </body>
> >   -      </document>
> >   +      </html>
> >       </xsl:if>
> >
> >       <xsl:if test="book">
> >


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


Re: cvs commit: xml-cocoon2/src/documentation/stylesheets/printer_skin document2html.xsl

Posted by Nicola Ken Barozzi <ni...@apache.org>.
From: "Vadim Gritsenko" <va...@verizon.net>

> Nicola,
>
> Just in case you did not get my previous email: Could you please fix the
> issue, one way or another?

Sorry, my fault, forgot to commit other files (no, I didn't recieve your
prev email, strange).

Fixed.

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


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