Hello everyone,

Im having a problem loading a xml with a stylesheet associated.
Im doing a request, and setting the html of a div to be the
responseText of the request, but no matter what i do, i never get the
xls load into to the xml, only the xml data.

    var XMLFILELoader = new Request({
        url: htmlToLoad,
        method: 'post',
        link: 'chain',
        onSuccess: function(responseTree, responseElements,
responseHTML, responseJavaScript){
            $(id).set('html', responseTree);
        }
    }).send();

if i view the xml in the browser it display correctly, with the xls
applied.

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="page1.xsl"?>
<table>
  <id>blabla</id>
  <designation>blablab</designation>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/
Transform">
        <xsl:template match="/">
                <html>
                        <body>
                                <table id="tableName" border="1" 
cellspacing="0" cellpadding="0"
width="662">

anyone ever tried this?

All help apreciated.

Reply via email to