Hi Folks
I have taken Konstantin Piroumian's
sample logic sheet ie "db.xsp" and I am trying
to modify it so that I could select from a certain
range of date ie I want to use the "LIMIT # #" command
to select and I am using the following syntax
<!-- This portion does not work -->
<xsp:element name="db:employees">
<xsp:attribute name="start">
<xsp:content>
<xsp:expr>
<xsp-request:get-parameter name="start" default="0"/>
</xsp:expr>
</xsp:content>
</xsp:attribute>
<xsp:attribute name="count">
<xsp:content>
<xsp:expr>
<xsp-request:get-parameter name="count" default="7"/>
</xsp:expr>
</xsp:content>
</xsp:attribute>
</xsp:element>
<!-- This works but gets all the employees -->
<db:employees>
</db:employees>
Any help will be greatly appreciated.
Joseph Rajkumar
email: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>