Hi -

I am using the jstl xml tags to list out my company's press releases on our
web site.  The XML file I created lists 50 PRs and the JSP page imports that
XML file and then displays each one using the x:forEach tag.

The trouble I'm having is that I have another JSP page I need to create that
should display only the first three PRs from that XML file.  I see that
x:forEach does not support the "begin" and "end" parameters.  This leads me
to think I need to limit the number of records from the XML document I'm
importing rather than import them all then limit the number I display.  So
my guess is that I need to write a filter expression in the x:parse tag to
retrieve just the first three records.

Am I on the right track?  And, if so, any ideas on how to write this filter?

Thanks,

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Dylan MacDonald
Senior Web Designer
GNX
phone: 415-283-3715
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to