This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: <xsl:stylesheet xmlns...



>> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]