cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <>
Subject Re: [Question] sample-apps page
Date Mon, 20 May 2002 01:35:06 GMT

----- Original Message -----
From: "David Crossley" <>
To: <>
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
> >
> > In the description I wanted to add links to XForms, Schematron and
> > documentation,
> > however < a href> is lost during the transformation of the samples
> >
> > Is this a bug, feature or am I doing things wrong?
> Are you looking for the link element ... <link href=".......">to

This doesn't seem to have an effect for the sample-apps docuement.
Is it in the same namespace as catalog-demo?

> However, i have found difficulty linking reliably from samples
> to their documentation. We do it from the Catalog Entity Resolver demo
> xml-cocoon2/src/webapp/docs/samples/catalog/test.xml
> and the link does work. However, the path for the href makes a wild
> assumption - that the URL will always be
> /cocoon/documents/userdocs/concepts/catalog.html
> ... not necessarily so.

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


> 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
> --David
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

To unsubscribe, e-mail:
For additional commands, email:

View raw message