Thanks for the orientation.

Where is the "front page of refactored samples" in CVS?



----- Original Message -----
From: "Konstantin Piroumian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 2:59 AM
Subject: Re: [Question] sample-apps page


> Hi Ivelin,
>
> From: "Ivelin Ivanov" <[EMAIL PROTECTED]>
> >
> > BTW, I am also wondering how to place an absolute link in the sitemap
> which
> > is relative to the application context path.
> > I was expecting that using
> >     <map:transform src="/stylesheets/xmlform/xmlform2html.xsl"/>
> > will be converted to
> > http://localhost:8080/cocoon/stylesheets/xmlform/xmlform2html.xsl
> > instead it became
> http://localhost:8080/stylesheets/xmlform/xmlform2html.xsl
> > which wasn't what I needed.
> > So now I use relative location which introduces dependency on the
location
> > of the xmlform demo.
> >           <map:transform
> src="../../stylesheets/xmlform/xmlform2html.xsl"/>
> >
> > What is a better solution in this case?
>
> Are you looking for
> <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/> ?
>
> Btw, I would recommend to add new samples only to the refactored samples
> directory: /src/webapp/samples. You'll just have to move your subsitemap
and
> all the files from scratchpad 'mount' to /samples - it is also an
> automounted directory. See other samples to get the idea.
>
> Unfortunately, the front page of refactored samples is out of date and
seems
> that nobody have to time to fix it.
>
> Konstantin
>
> >
> >
> >
> > Ivelin
> >
> >
> > >
> > > Obviously there is a problem with linking the other way around too.
> > > You can make a link from the main documentation tree to the relevant
> > > sample. That will work from the Cocoon on localhost, but of course
> > > it results in a broken link on xml.apache.org/cocoon/
> > > --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]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to