|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] PI and Cocoon
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








