cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric Glorieux <frederic.glori...@ajlsm.com>
Subject Re: generic resources
Date Thu, 03 Oct 2002 10:28:35 GMT
XML code in cocoon colors
Here is as an attached file (in hope that will work)
Fastest way to test it, open it in an XSL compliant browser (IE 5.5 under
windows, others ?)
Remove stylesheet processing instruction to compare

About webapp hierarchy
For our apps, we usually share resources (like this one, or tuned error
messages and other xsl, js, css)
They are in a WEB-INF/res directory as if it was updatable (like a jar)
Some xsl seems to be duplicated in cocoon webapp, can't cocoon show a good
practice on this question ?

----- Original Message -----
From: "Joerg Heinicke" <joerg.heinicke@gmx.de>
To: <cocoon-dev@xml.apache.org>
Sent: Thursday, October 03, 2002 1:41 AM
Subject: Re: generic resources


> Hello Frédéric,
>
> can you provide the code, either (if it's not too much) on the list
> (zipped) or as patch in bugzilla? I'm really interested in some code
> better than simple-xml2html.xsl.
>
> Regards,
>
> Joerg
>
> Frédéric Glorieux wrote:
> >     Hello developpers
> >
> > I'm essentially a cocoon user (degree: coding pipes like serializers and
so
> > on) but I got some tools in my box wich can take a place in webapp
distrib,
> > especially :
> >
> > an xsl stylesheet to show xml source in html, well commented for
adaptation
> > to replace simple-xml2html.xsl
> >     - interesting features
> >             forget MS.IE styles and give your colors to XML
> >             all xmlns:*="uri" attributes
> >             no more "+" to clean-up after copy/paste (but still toggles
on
> > tags, with DOM  conformant JS)
> >             text with <br/> - &amp; - non breakable space
> >     - usage
> >             global xsl on input
> >             as an import on xml blocks (for documentation)
> >
> > Don't you think that cocoon needs is own style to show xml ? Source code
> > given on request, other features possible (if you have ideas).
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>

Mime
View raw message