From: "David Crossley" <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]