cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thangadurai <du...@siptech.co.in>
Subject dynamic select clause in fp:read tag?
Date Tue, 04 Sep 2001 11:55:48 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message