cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject Re: [HEADS UP] Control flow merged in the main trunk
Date Mon, 20 May 2002 16:40:25 GMT
On Mon, 20 May 2002 13:26:06 +0400, "Konstantin Piroumian" <kpiroumian@apache.org> wrote:

> 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?

Yes, you're rigtht, I think this is the solution. I'll change the code
accordingly.


Thanks,
-- 
Ovidiu Predescu <ovidiu@cup.hp.com>

>>> I'm in the job market again, check out my resume and qualifications at:
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

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


Mime
View raw message