PDA

View Full Version : Limiting XML with XSLT?


fogofogo
11-22-2005, 04:39 PM
Hello,

I was wondering if anyone knew if you can use xslt to control how many records are printed from an xml page to a html page. For example, I have a xml page with 50 news stories, and I only want to pull 5 headlines or so and list them as HTML in an ASP page.

Is this possible to do?

THanks folks

John

KC-Luck
11-22-2005, 09:01 PM
yes, but the syntax is highly dependant on how you have structured your xml;
and sorting can be provided before the results are sent back, but also requires much tweaking per fields/structure you have implemented.

fogofogo
11-23-2005, 11:02 AM
thanks man