EDIT : too bad, although everything seemed fine in the preview, clickable examples seem to be spoiled things ... Perhaps the layout is great for the story.
, IE, IE Firefox "view-source:". Firefox Mac , Safari .
XSLT, XML. Firefox , , XML XSLT (, - , Firefox):
javascript:(function(){
var u = 'http://www.w3schools.com/xsl/cdcatalog_with_ex1.xml';
var w = window.open();
w.document.location.href = 'view-source:' + u;
})()
Ajax, alert oneporter, . : XSLT, :
javascript:(function(){
var u = 'http://www.w3schools.com/xsl/cdcatalog_with_ex1.xml';
var w = window.open();
var x = new XMLHttpRequest();
x.open('GET', u, true);
x.onreadystatechange = function(){
if(x.readyState == 4){
w.document.open('text/html');
var d = document.createElement('div');
var t = document.createTextNode(x.responseText);
d.appendChild(t);
w.document.write('<html><body><pre>'
+ d.innerHTML + '</pre></body></html>');
w.document.close();
w.focus();
}
};
x.send(null);
})()