xsl-list
[Top] [All Lists]

MSXML bug - xsl:import not coming from URI or importing XSL

2005-10-23 06:28:10
Hi,

I am finding a file resolution problem with MSXML. I could not find this problem in a search.

Here is the problem:

I load an HTML page from URL http://localhost/project/page.html

On that page I assemble an XSL processor object to do some /ajax/ transformation. When I load the primary (the one that will do some xsl:import's) I use the URL http://localhost/project/preview/layouts.xsl.

So I would assume that XSL relative to the URL would be found (Firefox/Mozilla does it this way). But, MSXML looks for the XSL relative to the original HTML page, for example in layouts.xsl I have:

<xsl:import href="head.xsl"/>

This comes to the server as http://localhost/project/head.xsl.

This is a bug, right? Any Microsoft people here? (Michael Champion, I saw you blog entry this morning :) Can anything be done?

best,
-Rob

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>
  • MSXML bug - xsl:import not coming from URI or importing XSL, Robert Koberg <=