On Mon, 20 May 2002 13:26:06 +0400, "Konstantin Piroumian" <[EMAIL PROTECTED]> 
wrote:

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

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


Thanks,
-- 
Ovidiu Predescu <[EMAIL PROTECTED]>

>>> 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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to