You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Thangadurai <du...@siptech.co.in> on 2001/09/04 13:55:48 UTC

dynamic select clause in fp:read tag?

Hi All,
In my xsp page,  I am using the fp:read tag to read an element  from an
input (xml) file.

My input xml file has the following elements
<root>
        <document>
                        <type>internal</type>
        </document>
        <docuement>
                        <type>external</type>
        </docuement>
        .. and so on..
</root>

I am using the fp:read tag like,,

<fp:read select="../document" from="repository" as="node"/>

it will include all the document elements into my dynamic page.. I don't
want all the elements.
I need only a particular elements which are satisfying my search
criteria ..
I have received a request parameter "type", and I want to use the value
in my select clause..
How can we add a dynamic select clause in fp:read tag? or is there any
other way to solve this problem?
If you give a reply , it will very usefull to me...
expecting reply,
Thangadurai



---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>