You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/08/24 11:56:51 UTC
[Cocoon Wiki] Updated: SitemapPathModule
Date: 2004-08-24T02:56:51
Editor: NicoVerwer <nv...@email.com>
Wiki: Cocoon Wiki
Page: SitemapPathModule
URL: http://wiki.apache.org/cocoon/SitemapPathModule
no comment
Change Log:
------------------------------------------------------------------------------
@@ -1,12 +1,12 @@
-== !SitemapPathModule ==
+== SitemapPathModule ==
This input module determines the absolute path to a file-resource, relative to the current sitemap.
For example, if the sitemap from which this module is used is located in {{{/here/is/my/sitemap.xmap}}}, the following results are returned:
-||''' accessor '''|||| result
-|| {sitemap-path:} || {{{/here/is/my}}}
-|| {sitemap-path:input.xml} || {{{/here/is/my/input.xml}}}
-|| {sitemap-path:../something.xsl} || {{{/here/is/something.xsl}}}
+||'''accessor'''||'''result'''||
+||{sitemap-path:}||{{{/here/is/my}}}||
+||{sitemap-path:input.xml}||{{{/here/is/my/input.xml}}}||
+||{sitemap-path:../something.xsl}||{{{/here/is/something.xsl}}}||
This module is useful in situations where you cannot use the standard source-resolving mechanism on generators and transformers.
It was written to access an XML-catalog in a sitemap-relative directory from a serializer, and probably has other uses as well.
@@ -19,9 +19,7 @@
logger="core.modules.input" name="sitemap-path"/>
}}}
-The !SitemapPathModule is not in the Cocoon distribution.
-It was donated to the Cocoon community by NicoVerwer, in the hope that it might be useful to others.
-
+The !SitemapPathModule is not in the Cocoon distribution, so you will need to compile it.
The relevant part of the code is:
{{{
@@ -66,3 +64,6 @@
}
}}}
+
+This module was donated to the Cocoon community by [NicoVerwer], in the hope that it might be useful to others.
+If you have any remarks, suggestions, etc. please email me at nverwer <at> be-value.nl.