This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
PI and Cocoon
- To: <XSL-List at mulberrytech dot com>
- Subject: PI and Cocoon
- From: "Martin Algesten" <martin dot algesten at ibfs dot com>
- Date: Tue, 28 Mar 2000 10:37:53 +0100
- Reply-To: xsl-list at mulberrytech dot com
I was attempting to do something like
<xsl:variable name="url" select="'http://localhost/myfile.xml"/>
<xsl:variable name="thefile" select="document($url)"/>
and didn't get it to work..
I think I've located the problem to be cocoon. Even though my xml-file
doesn't contain any PI's, the document I get out is formatted to something
like:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd>
...
..
Now if I point my browser to myfile.xml I would like to apply the
style-sheets i have specified, but if I read it locally with document() I do
not want it.... how can I get this behaviour?
Martin
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list