cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Neigaard <>
Subject sitemap newbie question
Date Thu, 08 Nov 2001 18:03:56 GMT
I want request http://host/* to be mapped to "client/media_pc/pages/", and I
want it to get it's XSL from "client/media_pc/pages/" (example:
http://host/test.xml -> "client/media_pc/pages/test.xml" and

I really dont know how to do this. This is what my guess is:

<map:match pattern="">
  <map:generate type="serverpages" src="client/media_pc/pages/{1}.xml"/>
  <map:transform type="xslt" src="client/media_pc/pages/{1}.xsl"/>

I know it shuldent work as I wanted, but if I do a
"http://host/adressbook_kontaktpersoner" it should give me some output
right!? It dosn't :(

The following stemap gives me the right output on "http://host/client":

<map:match pattern="client">
  <map:generate type="serverpages"
  <map:transform type="xslt"

Please help a confused newbie :)

Med venlig hilsen/Best regards
Søren Neigaard
System Architect
Mobilethink A/S
Åboulevarden 23, 5.sal
DK - 8000 Århus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message