cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: sessionstate matcher usage: What's wrong?
Date Thu, 21 Mar 2002 12:33:24 GMT
On 21.Mar.2002 -- 12:07 PM, KOZLOV Roman wrote:
> processed, so that writeDOMsession is called always. Could you please
> point to errors?
> 
>    <map:match pattern="get_lub">
>        <map:match type="sessionstate" pattern="**">
>            <map:parameter name="attribute-name" value="designations"/>
>            <map:transform type="readDOMsession">
>                <map:parameter name="dom-name" value="designations"/>
>                <map:parameter name="trigger-element" value="/"/>
>                <map:parameter name="position" value="in"/>
>            </map:transform>
>            <map:serialize type="xml"/>
>        </map:match>
> 
>        <map:generate
> src="xmldb:xindice://localhost:4080/db/data/somecollection/#//Some_Element"/>
> 
>        <map:transform src="stylesheets/render_query.xsl"/>
>        <map:transform type="writeDOMsession">
>            <map:parameter name="dom-name" value="designations"/>
>            <map:parameter name="dom-root-element" value="dom"/>
>        </map:transform>
>        <map:serialize type="xml"/>
>    </map:match>

Roman,
you seem to be missing a <map:generate/> in the upper
pipeline. Anyway, could you check with core.log (?) that your session
actually contains an attribute called "designations"?

	Chris.

-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message