XML paging using XML + XSL + CSS

Introduction

Hello again, I decided to take a break from graphics and do some XML. I
created an XML Pager, what it does is read an XML file and apply an XSL
translation and send params to it to create a paged document.

Important, you need to have ASP.NET 1.1 running on your server! ASP.NET 1.0 had
a bug in the XSL module. If you have 1.0 and try to run this, Windows will
report a call to a nonexistent function.

How it's done

All you have to do is create a new XmlDocument object and an
XslTransform
object. Load them with data and call the Transform method. Below is a sample:

The XSL File

You specify the params at the top of the file and then just use them like regular vars.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.