crossley 01/11/19 03:59:10 Modified: documentation/xdocs/userdocs/concepts sitemap.xml Log: Add listing of "Protocols" that can be used and explained what they mean. Link to "Example sitemap snippets" document. Revision Changes Path 1.5 +31 -0 xml-cocoon2/documentation/xdocs/userdocs/concepts/sitemap.xml Index: sitemap.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/documentation/xdocs/userdocs/concepts/sitemap.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sitemap.xml 2001/11/18 04:51:30 1.4 +++ sitemap.xml 2001/11/19 11:59:10 1.5 @@ -25,6 +25,9 @@ <p> See the <link href="../index.html">User documentation</link> for details about configuration of each sitemap component. + See the <link href="sitemap-examples.html">Example sitemap snippets</link>. + Explore each <code>sitemap.xmap</code> in the distribution, to see + how the various situations are handled. </p> <p> @@ -41,6 +44,9 @@ "open development" leading both the implementation and the pure research around software development and usability. </p> + </s2> + + <s2 title="Goals"> <p> The goal of the sitemap is to allow non-programmers to create web sites @@ -575,6 +581,31 @@ </p> </s3> </s2> + </s1> + + <s1 title="Protocols"> + <p>In the sitemap, you can use all protocols nearly everywhere + (except for in <code>map:redirect</code>). + </p> + + <p>Inside your components, you can also use these protocols whenever you + have a <code>SourceResolver</code> handy. + </p> + + <ul> + <li><code>context://</code> + - get a resource using the servlet context + </li> + <li><code>cocoon:/</code> + - get a pipeline from the current sitemap + </li> + <li><code>cocoon://</code> + - get a pipeline using the root sitemap + </li> + <li><code>resource://</code> + - get a resource from the context classloader + </li> + </ul> </s1> <s1 title="Interface specifications">
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]