cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Bhalerao" <rohit_bhale...@hotmail.com>
Subject Re: order-by="+something" not working
Date Wed, 11 Apr 2001 05:49:02 GMT
yeah that worked.. order-by="something" is IE specific tag,so it was not 
working with netscape and cocoon.
Its now working with xsl:sort.
Thanks a lot anyways,
Rohit



>From: "Matthew Cordes" <mcorde61@maine.edu>
>Reply-To: cocoon-users@xml.apache.org
>To: <cocoon-users@xml.apache.org>
>Subject: Re: order-by="+something"   not working
>Date: Wed, 11 Apr 2001 01:19:52 -0400
>
>Perhaps I'm confused but the do you mean this:
>
><xsl:for-each select="title1/chess" order-by="+year">
>     ....
></xsl:for-each>
>
>this isn't valid xsl, you want something like:
>
><xsl:for-each select="title1/chess">
>     <xsl:sort select="year" order="ascending"/>
>     ....
></xsl:for-each>
>
>unless you're referring to some cocoon extension I'm not familiar with.
>
>-matt
>
>
>
>
>
>
>
>----- Original Message -----
>From: "Rohit Bhalerao" <rohit_bhalerao@hotmail.com>
>To: <cocoon-users@xml.apache.org>
>Sent: Wednesday, April 11, 2001 1:03 AM
>Subject: order-by="+something" not working
>
>
> > hi all,
> > I am facing a problem while using sorting the elements by using
> > order-by="+something"  tag.
> > My xml is like this...
> >
> >
> >
> > <title1>
> >
> > <chess>
> > <year> 1991 </year>
> > <winner>A</winner>
> > <runner_up>A1</runner_up>
> > </chess>
> >
> > <chess>
> > <year> 1993 </year>
> > <winner>C</winner>
> > <runner_up>A3</runner_up>
> > </chess>
> >
> > </title1>
> >
> > whwnever I am displaying the results using
> > <xsl:for-each select="title1/chess"> I am getting all the results but 
>when
>I
> > add additional attribute   order-by="+year" so that the results will be
> > sorted in ascending order,I am getting following exception..
> >
> >
> >
> >     Error found handling the request.
> >
> > org.apache.xalan.xslt.XSLProcessorException:
> >        at
> > org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1720)
> >               at
> > org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1625)
> >
> >               at
>org.apache.xalan.xslt.ElemForEach.<init>(ElemForEach.java,
> > Compiled Code)
> > .
> > .
> > .
> >
> > what can be the reason? Please help me if I am going wrong somewhere.
> > Thanks a lot in advance,
> > Rohit
> >
> > 
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at 
>http://www.hotmail.com.
> >
> >
> > ---------------------------------------------------------------------
> > 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>
> >
>
>
>---------------------------------------------------------------------
>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>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
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