cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: [Question] sample-apps page
Date Mon, 20 May 2002 12:30:02 GMT
> From: Ivelin Ivanov [mailto:ivelin@apache.org]
> 
> 
> ----- Original Message -----
> From: "David Crossley" <crossley@indexgeo.com.au>
> To: <cocoon-dev@xml.apache.org>
> 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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message