home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-cocoon-addon-1.4.9-installer.exe / link-serializer.xml < prev    next >
Encoding:
Extensible Markup Language  |  2004-07-12  |  2.5 KB  |  68 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3.   Copyright 1999-2004 The Apache Software Foundation
  4.  
  5.   Licensed under the Apache License, Version 2.0 (the "License");
  6.   you may not use this file except in compliance with the License.
  7.   You may obtain a copy of the License at
  8.  
  9.       http://www.apache.org/licenses/LICENSE-2.0
  10.  
  11.   Unless required by applicable law or agreed to in writing, software
  12.   distributed under the License is distributed on an "AS IS" BASIS,
  13.   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.   See the License for the specific language governing permissions and
  15.   limitations under the License.
  16. -->
  17. <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.0//EN" "document-v10.dtd">
  18.  
  19. <document>
  20.     <header>
  21.         <title>Link Serializer</title>
  22.         <version>1.0</version>
  23.         <type>Technical document</type>
  24.         <authors>
  25.           <person name="Carsten Ziegeler" email="cziegeler@apache.org"/>
  26.           <person name="Torsten Knodt" email="tk-cocoon@datas-world.e"/>
  27.          </authors>
  28.          <abstract>This document describes the link serializer of Cocoon.</abstract>
  29.     </header>
  30.     <body>
  31.         <s1 title="Link Serializer">
  32.           <p>The link serializer generates a list of links
  33.                    using <link href="http://www.w3.org/TR/xlink/">XLink</link>
  34.                    from the sax events.
  35.                    Most <link href="http://www.w3.org/MarkUp/">XHTML</link>
  36.                    attributes are also supported (href, src, longdesc,
  37.                    background). The mime-type of the output is 
  38.                    <code>application/x-cocoon-links</code>. This serializer is
  39.                    required by the link status generator and the command line
  40.                    mode to follow links.</p>
  41.            <ul>
  42.              <li>Name: links</li>
  43.              <li>Class: org.apache.cocoon.serialization.LinkSerializer</li>
  44.                  <li>Cacheable: no</li>
  45.            </ul>
  46.         </s1>
  47.                 <s1 title="Usage">
  48.           <p>To use the link serializer for the command-line or the
  49.                     link status generator, you need the following entries in
  50.                     your sitemap:</p>
  51. <source><![CDATA[
  52. <map:components>
  53.   <map:serializers>
  54.     <map:serializer logger="sitemap.serializer.links" name="links"
  55.                     src="org.apache.cocoon.serialization.LinkSerializer" />
  56.   </map:serializers>
  57. </map:components>
  58.  
  59. <map:views>
  60.   <map:view from-position="last" name="links">
  61.     <map:serialize type="links" />
  62.   </map:view>
  63. </map:views>
  64. ]]></source>
  65.                 </s1>
  66.     </body>
  67. </document>
  68.