> -----Original Message----- > From: Joseph Rajkumar [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 19, 2002 12:37 AM > To: cocoon-users > Subject: XSP Question > > > 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>
Range attributes are not supported by db logicsheet, it's just a sample. To add some new features you should add them to the logicsheet (see db.xsl). -- Konstantin Piroumian [EMAIL PROTECTED] > > > <!-- 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]> --------------------------------------------------------------------- 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]>