cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: [Question] sample-apps page
Date Mon, 20 May 2002 12:36:25 GMT
From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
> > From: Ivelin Ivanov [mailto:ivelin@apache.org]
> > From: "David Crossley" <crossley@indexgeo.com.au>
> > > 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">

I've proposed to use document DTD also for the samples page, but there was
no any response to it.

What does Forresters think of it?

Konstantin

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

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message