[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Pageing
If you need to avoid server interaction then I presume you mean there is
only client-side processing.
If you are using Internet Explorer as your browser then the DOM model should allow you to run XSLT transformations from Javascript using the transformNode(?ToObject) method. You can also use the load method (or maybe xmlHTTP) to load xml documents. So - you load your XML as an xml document. then load your XSL as an xml document then transform your XML into a NEW HTML document using the XSL and display the output in your browser document. I haven't done this whole process but I think I've successfully done each part of it. For total self-contained client-side processing I think this is your only solution. I don't have any example code - but I do have part of a copy of an old Microsoft XSLT debugger (search Google for xsl-debugger) written entirely in javascript as a single html page (400+ lines - 14kb) which does most of the above (+ many other features as well). All the links I have to the Microsoft source for this are now not present on the Microsoft site. I think it's probably safe to send you a copy - so e-mail me if you think it would help. Evan Wellens wrote: Hey All -- Datalucid Limited 8 Eileen Road South Norwood London SE25 5EJ United Kingdom / tel :0208-239-6810 mob: 0794-725-9760 email: mike.trotman@xxxxxxxxxxxxx UK Co. Reg: 4383635 VAT Reg.: 798 7531 60 /
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|