Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 63048 invoked by uid 500); 26 Sep 2002 20:34:43 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 63035 invoked from network); 26 Sep 2002 20:34:42 -0000 Reply-To: From: "Luca Morandini" To: "Cocoon-users" Subject: RE: Serializig and LF: Problem Date: Thu, 26 Sep 2002 22:35:31 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Skansen, hold on a second... The indent tag recognizes only the "yes" value and the "non yes" values... I mean, whatever you put into it would do the trick (as long as it is not "yes"): if you try "foo" it will work just as well as "no" or "1". Why it didn't work before ? Because you forgot to "touch" the XML source document after changing the indent tag, hence, the result was retrieved from cache: don't worry, I did the same mistake myself :( Ok, now I think this has been solved for good. Best regards, --------------------------------------------- Luca Morandini GIS Consultant lmorandini@ieee.org http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Skansen [mailto:skansen@telia.com] > Sent: Thursday, September 26, 2002 8:19 PM > To: cocoon-users@xml.apache.org; lmorandini@ieee.org > Subject: Re: Serializig and LF: Problem > > > Thanks :) > > The tip on indent dit it but it should be put in the HTML serializer as 1 > > Still got a one loose end were do it put "http://www.w3.org/TR/xslt#strip"? > > > Regards > > > Jakob > > > P.S > sitemap.xmp Before 1 was added to the serializer. > > --- Transformer --- > > > false > false > > > > --- Serializer --- > > ISO-8859-1 > > > --- Resource --- > > > > > > > > --- part of Pipline --- > > > > > > > > > > > > > > ----- Original Message ----- > From: "Luca Morandini" > To: > Sent: Thursday, September 26, 2002 3:44 PM > Subject: RE: Serializig and LF: Problem > > > > > > > Must admit that I have not noticed that from the first sight. :) > > > > > > Vadim, you corrected me many times, let me return the favour once in a while ;) > > > > > > > But I would try indent=no anyway. > > > > > > I tried that to no avail (it was my first thought, too). > > > > > > > >Anyway, a "span" will save the day :) > > > > > > > > > > Will it? There should be no difference in behaviour - which means that > > > this is an issue with serializer. > > > > > > I guess it will, since does't break HTML text as
does... though it is included in a ... hmmm... don't > really know. > > > > Anyway, the behaviour of Xalan (or the Serializer) begs further investigations. > > > > Best regards, > > > > --------------------------------------------- > > Luca Morandini > > GIS Consultant > > lmorandini@ieee.org > > http://utenti.tripod.it/lmorandini/index.html > > --------------------------------------------- > > > > > > > -----Original Message----- > > > From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net] > > > Sent: Thursday, September 26, 2002 3:29 PM > > > To: cocoon-users@xml.apache.org > > > Subject: Re: Serializig and LF: Problem > > > > > > > > > Luca Morandini wrote: > > > > > > >Vadim, > > > > > > > >I think the problem is not related to indentation, since the HTML output appears to have no indentation; moreover, I presume > > > >strip-space will be of no use, since there are no spaces to strip in the input elements. > > > > > > > >Look, the XSL fragment, according to Skansen, is: > > > > > > > > > > > > > > > > > > Must admit that I have not noticed that from the first sight. :) > > > But I would try indent=no anyway. > > > > > > > > > >And the result is: > > > > > > > > > > > >
> > > >Home > > > >
> > > > > > > > > > > >Which, IMHO, cannot be, given the afore-mentioned XSL fragment: therefore this might be a Xalan bug. > > > > > > > >Anyway, a "span" will save the day :) > > > > > > > > > > Will it? There should be no difference in behaviour - which means that > > > this is an issue with serializer. > > > > > > Vadim > > > > > > > > > >Best regards, > > > > > > > >--------------------------------------------- > > > > Luca Morandini > > > > GIS Consultant > > > > lmorandini@ieee.org > > > >http://utenti.tripod.it/lmorandini/index.html > > > >--------------------------------------------- > > > > > > > > > > > > > > > > > > > >>-----Original Message----- > > > >>From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net] > > > >>Sent: Thursday, September 26, 2002 2:41 PM > > > >>To: cocoon-users@xml.apache.org > > > >>Subject: Re: Serializig and LF: Problem > > > >> > > > >> > > > >>Vadim Gritsenko wrote: > > > >> > > > >> > > > >> > > > >>>Skansen wrote: > > > >>> > > > >>> > > > >>> > > > >>>>Hello > > > >>>> > > > >>>>When using the XSL stylesheet below cocoon gives the output below. > > > >>>> > > > >>>>The problem is that after a or a
i can't have a LF or CR. > > > >>>>If there is one i get aditional height in the row. (which is bad) > > > >>>> > > > >>>>What i would like to get is: > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>>Any idea how. > > > >>>> > > > >>>> > > > >>>1. Put this on one line http://www.w3.org/TR/xslt#strip > > > > >>>2. http://www.w3.org/TR/xslt#strip > > > >>>Use strip-space > > > >>> > > > >>> > > > >>Another thing to check is that html serializer has indent set to no: > > > >> > > > >>no > > > >> > > > >>See > > > >>http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/OutputKeys.html#INDENT > > > >> > > > >>Vadim > > > >> > > > >> > > > >> > > > >> > > > >> > > > >>>>I'm using cocoon from 20020826 on vm1.3 I tried the output in Mozilla > > > >>>>1.1 and IE 5.5. With a stylesheet and ....... around it. > > > >>>> > > > >>>>P.S > > > >>>>Cocoon reverse the attributes on output :) > > > >>>> > > > >>>> > > > >>>> > > > >>>It's Xalan or Xerces. > > > >>> > > > >>>Vadim > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>>>Jakob > > > >>>> > > > >>>>---->XSL Transformation > > > >>>> > > > >>>> > > > >>>> > > >>>>xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>>---------> Output from Cocoon > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > > > > > > > --------------------------------------------------------------------- > > > Please check that your question has not already been answered in the > > > FAQ before posting. > > > > > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. > > > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: