This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: <xsl:stylesheet xmlns...
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: <xsl:stylesheet xmlns...
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Sun, 6 Aug 2000 16:20:15 +0100
- Reply-To: xsl-list at mulberrytech dot com
>> Paul Tchistopolskii writes:
>> > Well - consider Sebastian's test6.xsl ;-) He is generating
>> > 40K HTML out of 500K of data. I can not belive he'l send
>> > those 500K to the client. I got the impression that he
>> > said that he may do that , but I think there is some
>>
>> I might well deliver the main data file, and a slew of small .xsl
>> files to do amusing things with it
>
>I'm sure I still don't understand you. Let me explain.
>
>What do you mean by saying "I'l deliver the main data file
>to the client, and a slew of .xsl files" ? The <xsl:stylesheet
>directive provides one - to -one binding. I mean you use
>this directive to say : "this XML file should be rendered
>with this xsl stylesheet".
>
>How can you deliver main data file and a slew of small
>.xsl files using <xsl:stylesheet directive?
>
>Or you are talking about some proprietary-absolutely
>non-standard-vendor-specific API which allows you
>to associate the same main data file with multiple
>xsl stylesheets ? Shame on you, Sebastian, you should
>not get your hands dirty with using the API's which
>are not blessed by W3C ( right? ;-).
>
Like make available offline for instance or
function changeStylesheet(stylesheet){
xsl.load(stylesheet);
document.body.innerHTML = xml.transformNode(xsl);
}
function changeDocument(doc){
xml.load(doc);
document.body.innerHTML = xml.transformNode(xsl);
}
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list