> From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
> 
> 
> ----- Original Message -----
> From: "David Crossley" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, May 19, 2002 8:24 PM
> Subject: Re: [Question] sample-apps page
> 
> 
> > Ivelin Ivanov wrote:
> > > I've added a link to the XMLForm wizard in the /cocoon/sample-apps
page
> > > xml-cocoon2/src/webapp/docs/samples/sample-apps.xml
...
> > > Is this a bug, feature or am I doing things wrong?
> >
> > Are you looking for the link element ... <link href=".......">to
> > here</link>
> >
> 
> This doesn't seem to have an effect for the sample-apps docuement.
> Is it in the same namespace as catalog-demo?

<samples/> document is *very* simple, it allows links only in <sample/>
element:

  <sample name="Session State" href="session-state/example">

...

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


Use
  <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/>

Vadim

 
> 
> 
> Ivelin


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

Reply via email to