[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: client side paging using XML, XSLT, and script fro

Subject: Re: client side paging using XML, XSLT, and script from www.bayes.co.uk?
From: "Joris Gillis" <roac@xxxxxxxxxx>
Date: Fri, 05 Aug 2005 10:54:28 +0200
paging xml xslt
Hi,

Tempore 21:42:39, die 08/04/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Subscriptions @ Team 7 Projects <subscriptions@xxxxxxxxxxxxxxxxx>:

I am in need of some desperate help here. I am attempting to use the article
found on http://www.bayes.co.uk with respect to client side paging using XML
and XSLT. I have searched high and low on the web and have not managed to
find an answer/solution to my problem. Hoping someone can help.

It seems the javascript in question is designed to work with the original XML and XSLT. If you first perform a transform and then send the result to the client (as your ASP code does), the script cannot work.


You should serve the XML raw to the client (with the addition of a link to the XSLT):

<?xml-stylesheet type="text/xsl" href="results_page.xslt"?>
<series>
<page>
<ad>
<CompanyName>ABC (Pty) Ltd.</CompanyName>
<ContactPerson>Mr ABC</ContactPerson>
<Email>me@xxxxxxxx</Email>
</ad>
<ad>
<CompanyName>Co. B</CompanyName>
<ContactPerson>Trust Me</ContactPerson>
<Email>test@xxxxxxxxx</Email>
</ad>
</page>
<page>
<ad>
<CompanyName>ABC (Pty) Ltd.</CompanyName>
<ContactPerson>Mr ABC</ContactPerson>
<Email>me@xxxxxxxx</Email>
</ad>
</page>
</series>


regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) Spread the wiki (http://www.wikipedia.org)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.