cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Dias" <cd...@pontoc.pt>
Subject Pipe-aware Selectors
Date Wed, 13 Oct 2004 14:57:27 GMT
Hi folks!
Here is my problem:
In my pipeline I want to make choices(xsl) dependent from an XML input. By example:
<map:match patter="test">
    <map:generate src="cocoon:/test.xsp"/> 
    <map:select type="xmlselector">
        <map:when test ="/*/@type='true'">
            <map:transform src="xsl1.xsl"/>
        </map:when>
        <map:otherwise>
           <map:transform src="xsl2.xsl"/>
        </map:otherwise>
    </map>
</map>

The subject was already discuss in the dev-list (http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg13883.html)
but seems that hasn't bean developed.

Can anybody help me?!

Thanks in advance,
Carlos Dias



Mime
View raw message