[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE:
RE:
Subject: RE: <xsl:stylesheet xmlns...
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Mon, 7 Aug 2000 15:05:38 +0100
>Let's talk practical:
> What other browser uses it?
>
None but then other browsers don't support the w3c doms
You could also do the following if you had a w3c compliant browser
function changeStylesheet(stylesheet){
if (proc == "xalan"{
xsl.setStyleURL(stylesheet);
document.body.innerHTML = xsl.getHtmlText();
}else{
xsl.load(stylesheet);
document.body.innerHTML = xml.transformNode(xsl);
}
}
function changeDocument(doc){
if (proc == "xalan"{
xsl.setDocumentURL(doc);
document.body.innerHTML = xsl.getHtmlText();
}else{
xml.load(doc);
document.body.innerHTML = xml.transformNode(xsl);
}
}
I don't think that this solution constitutes in Paul Tchistopolski's word
<quote>
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? ;-).
</quote>
Some people are fond of their vintage cars even though they are clapped out
smokeing buckets that you can't get support for.
If you are sticking with Netscape out of some sense of loyalty then go on
and use that proprietary-absolutely-non-standard-vendor-specific API I can't
wait till it is consigned to the tip where it belongs. I also can't wait for
version 6.
Ciao Chris
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread
- RE: <xsl:stylesheet xmlns..., (continued)
- Chris Bayes - Sun, 6 Aug 2000 16:20:15 +0100
- Paulo Gaspar - Sun, 6 Aug 2000 21:25:13 +0200
- Chris Bayes - Sun, 6 Aug 2000 21:33:05 +0100
- Paulo Gaspar - Mon, 7 Aug 2000 01:43:11 +0200
- Chris Bayes - Mon, 7 Aug 2000 15:05:38 +0100 <=
- Sebastian Rahtz - Sun, 6 Aug 2000 16:49:03 +0100 (BST)
- Paul Tchistopolskii - Sun, 06 Aug 2000 13:50:55 -0700
- Sebastian Rahtz - Sun, 6 Aug 2000 22:45:09 +0100 (BST)
- Paul Tchistopolskii - Sun, 06 Aug 2000 17:06:47 -0700
<- Previous Index Next ->
RE: <xsl:stylesheet xmlns..., Paulo Gaspar
Thread
Re: <xsl:stylesheet xmlns..., Sebastian Rahtz
RE: <xsl:stylesheet xmlns..., Chris Bayes
Date
Re: Flat puzzle. (Re: <xsl:styleshe, Paul Tchistopolskii
Month
Keywords
Subject: RE: <xsl:stylesheet xmlns... From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Mon, 7 Aug 2000 15:05:38 +0100 |
>Let's talk practical: > What other browser uses it? > None but then other browsers don't support the w3c doms You could also do the following if you had a w3c compliant browser function changeStylesheet(stylesheet){ if (proc == "xalan"{ xsl.setStyleURL(stylesheet); document.body.innerHTML = xsl.getHtmlText(); }else{ xsl.load(stylesheet); document.body.innerHTML = xml.transformNode(xsl); } } function changeDocument(doc){ if (proc == "xalan"{ xsl.setDocumentURL(doc); document.body.innerHTML = xsl.getHtmlText(); }else{ xml.load(doc); document.body.innerHTML = xml.transformNode(xsl); } } I don't think that this solution constitutes in Paul Tchistopolski's word <quote> 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? ;-). </quote> Some people are fond of their vintage cars even though they are clapped out smokeing buckets that you can't get support for. If you are sticking with Netscape out of some sense of loyalty then go on and use that proprietary-absolutely-non-standard-vendor-specific API I can't wait till it is consigned to the tip where it belongs. I also can't wait for version 6. Ciao Chris XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: <xsl:stylesheet xmlns..., Paulo Gaspar | Thread | Re: <xsl:stylesheet xmlns..., Sebastian Rahtz |
RE: <xsl:stylesheet xmlns..., Chris Bayes | Date | Re: Flat puzzle. (Re: <xsl:styleshe, Paul Tchistopolskii |
Month |
Keywords