cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: permit quoting
Date Tue, 25 Jul 2000 19:22:21 GMT
On Tue, 25 Jul 2000, Robin Green wrote:

> Ulrich Mayring <ulim@denic.de> wrote:
> >Robin Green wrote:
> > >
> > > I'm going to do a mini-style-taglib (a stylesheet that you call by
> > > xsl:import and xsl:call-template) to modularise this solution anyway, so
> > > email me if you want it.
> >
> >I am wondering if it would even be good to have this option of creating
> >invalid XML.
> 
> You misunderstand me. I 100% agree with you that it is not good to create 
> possibly-invalid XML! What I am talking about is NOT a solution for creating 
> invalid XML. It is merely a solution for grouping a flat list of XML 
> elements into fixed sets of at most N elements (where N is any number), 
> which is what Torsten (and many others) seem to be after. It does not 
> involve any invalid XML at all.
> 
> E.g. from
> 
> <a1/>
> <a2/>
> <a3/>
> <a4/>
> <a5/>
> 
> to
> 
> <row> <a1/><a2/> </row>
> <row> <a3/><a4/> </row>
> <row> <a5/> </row>
> 
> If I can't get the suggested XSLT solution to work, I have written a 
> Processor to do this instead.

there are many suggestions for how to accomplish this in straight XSLT in
the XSL faqs and tutorials. disable-output-escaping is really kludgy,
imho.

- donald


Mime
View raw message