Question:
-----------
Is it possible to dynamically add a certain transformer to the sitemap
pipeline later dependant on generated xml content?

Background:
-------------
My cocoon app generates website from content in a Mysql DB.
In my sitemaps pipeline there is an xsp generator which gets the DB raw
data. Every article in my DB has an attribute src which is a path to a xsl
which should later style my article.

This is how the result of the xsp look like:----------------------------

<?xml version="1.0" encoding="UTF-8"?>
<seite xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp="http://apache.org/xsp";>
            <rahmen>
                <laschen oberrubrik="service" unterrubrik="recht">
                </laschen>
                <inhalt>
                    <artikel id="1" stylesheet="toArticle.xsl">
<<<----------------- here is the file name
                                 ....
                                              </artikel>
                </inhalt>

                <rechts/>

                <footer/>
            </rahmen>
    </seite>

----------------------------------------
Can I bring cocoon to add a transformer to the sitemap pipeline with
excately that generated filename as src?
Or can I do it with xsl:include without cocoon?

R.S.




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to