[DAISY] Updated: LinkRewriterTransformer
[email protected] Thu, 11 Sep 2008 09:15:33 +0000 (GMT+00:00)
| Newsgroups | gmane.text.xml.cocoon.documentation |
|---|---|
| Message-ID | <[email protected]> |
A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/1102.html
Document ID: 1102
Branch: main
Language: default
Name: LinkRewriterTransformer (unchanged)
Document Type: Sitemap Component (unchanged)
Updated on: 9/11/08 9:15:12 AM
Updated by: David Legg
A new version has been created, state: draft
Parts
=====
Long description
----------------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 8905 bytes (previous version: 8591 bytes)
Content diff:
(26 equal lines skipped)
<p>If that was all this transformer could do, it wouldn't be anything that you
couldn't already do with an XSLT transformer and suitable stylesheet. The real
--- power of the LinkRewriterTransformer occurs when it is combined with one or more
+++ power of the LinkRewriterTransformer occurs when it is configured to work in
+++ combination with one or more
<a href="http://cocoon.apache.org/2.1/userdocs/concepts/modules.html">InputModules</a>.
--- This ability lets the LinkRewriterTransformer look up the new value of an
--- attribute to be replaced at run time.</p>
+++ This ability lets the LinkRewriterTransformer look up the new value of a link
+++ attribute at request time. Depending on the inputmodule used, the new value may
+++ be retrieved from a number of datasources including files, databases or some
+++ other form of repository.</p>
<h2>Transformer Configuration</h2>
(24 equal lines skipped)
but no value therein. Defaults to the original URI.</li>
<li>namespace-uri - The namespace uri of elements whose attributes are
considered for transformation. Defaults to the empty namespace ("").</li>
+++ <li>input-module - 0..n (possibly nested) inputModule configuration
+++ information. Associates an input module with this transformer.</li>
</ul>
<p>The attributes considered to contain links are a <em>set</em> of the
(132 equal lines skipped)