G
Guest
Greetings,
I have the Outlook Today page homepage set to a custom HTML file. In that
file, I'm displaying an XML file with an XSL file using the following
function:
function GetDailyImage() {
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.async = false;
xmldoc.load("http://www.somewhere.com/image.rdf");
xsldoc = new ActiveXObject("Microsoft.XMLDOM");
xsldoc.async = false;
//xsldoc.setProperty("ServerHTTPRequest", true);
xsldoc.load("image.xsl");
document.write(xmldoc.transformNode(xsldoc));
}
My image.rdf file contains:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/"
If I open the HTML or the RDF files locally, it works. However, through the
Outlook Today page, I get the "The stylesheet does not contain a document
element." error. Any suggestions on how to fix it? I tried using the
xsldoc.setProperty("ServerHTTPRequest", true) command to no avail.
Thanks.
I have the Outlook Today page homepage set to a custom HTML file. In that
file, I'm displaying an XML file with an XSL file using the following
function:
function GetDailyImage() {
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.async = false;
xmldoc.load("http://www.somewhere.com/image.rdf");
xsldoc = new ActiveXObject("Microsoft.XMLDOM");
xsldoc.async = false;
//xsldoc.setProperty("ServerHTTPRequest", true);
xsldoc.load("image.xsl");
document.write(xmldoc.transformNode(xsldoc));
}
My image.rdf file contains:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/"
If I open the HTML or the RDF files locally, it works. However, through the
Outlook Today page, I get the "The stylesheet does not contain a document
element." error. Any suggestions on how to fix it? I tried using the
xsldoc.setProperty("ServerHTTPRequest", true) command to no avail.
Thanks.