cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: [HEADS UP] Control flow merged in the main trunk
Date Mon, 20 May 2002 09:26:06 GMT
From: "David Crossley" <crossley@indexgeo.com.au>
> Ovidiu Predescu wrote:
> > Michael Hartle wrote:
> >
> > > The sitemap for the flow sample uses incorrect paths to some
> > > stylesheets; e.g. instead of
> > > "../../../documentation/stylesheets/site2xhtml.xsl", this stylesheet
is
> > > located at "../../../documentation/stylesheets/site2xhtml.xsl". After
> > > fixing this quickly, I tried the calculator example.
> >
> > Hm, this worked fine on my machine. The file is relative to the place
> > where the sitemap file is located, not where the the XSP files
> > are.
>
> HmHm, i needed to make the same changes as Michael.
> There are various ../../../ in your sitemap.xmap that i did
> need to change to ../../documentation/sty...

Won't it be better to use absolute references to common stylesheets? What
about a structure similar to Forrest's :

/skins
    /common
        /css
        /xslt
            ...
    /docs
        /css
        /xslt
            /html
            /fo
    /samples
         ...
and so on?
So, all common resources can be references using context:// and all the
custom ones using relative paths.

Another idea is to have a webapp structure like this:
webapp/
    images/
    css/
    xslt/

This way resources are grouped by their type and not the usage area. So,
say, documentation can use references like this:
context://xslt/docs/document2html.xsl, etc.

What do you think?

Konstantin

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

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


Mime
View raw message