xsl-list
[Top] [All Lists]

RE: client side paging using XML, XSLT, and script from www.bayes.co.uk?

2005-08-05 02:44:49
Hi Joris,

Thanx, for the info. I actually just discovered that now. But now I am
struggling to send the raw XML to my client with the href for my stylesheet.
:( Sorry, I am not very good at XSLT. So if you of a way for me to do this,
please let me know. I am trying to use <xsl:output method="xml"/> ....

DW

-----Original Message-----
From: Joris Gillis [mailto:roac(_at_)pandora(_dot_)be] 
Sent: 05 August 2005 10:54 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] client side paging using XML, XSLT, and script from
www.bayes.co.uk?


Hi,

Tempore 21:42:39, die 08/04/2005 AD, hinc in 
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
scripsit Subscriptions @ Team 7 Projects 
<subscriptions(_at_)team7projects(_dot_)com>:

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(_at_)test(_dot_)com</Email> </ad> <ad> 
<CompanyName>Co.
B</CompanyName> <ContactPerson>Trust Me</ContactPerson>
<Email>test(_at_)trust(_dot_)com</Email> </ad> </page> <page> <ad> 
<CompanyName>ABC
(Pty) Ltd.</CompanyName> <ContactPerson>Mr ABC</ContactPerson>
<Email>me(_at_)test(_dot_)com</Email> </ad> </page> </series>


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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>