Subject: RE: The document() function....again !! From: Andrew Kimball <akimball@xxxxxxxxxxxxx> Date: Fri, 13 Oct 2000 18:36:22 -0700 |
Sara, You wrote: > So...MSXML doesn't know where the stylesheet actually is as a URL and therefore doesn't know > where to look for your file in the document() call MSXML does keep track of the URL you used in the load() call, and the XSL processor uses this to resolve relative URL's. So unless there's a bug in the code, you should get the spec'd behavior (resolve relative paths with respect to the location of the stylesheet document). The only difficulty comes when you use the loadXML() method to create a stylesheet. Since you're constructing the stylesheet "out of thin air", it has no URL associated with it. In this case, the URL is determined by the application's current directory (which is not necessarily the directory from which you executed the application). Could you post the code that you're having trouble with (and describe how you're using MSXML--in IE, in VB, in WSH, etc)? I've tried a few examples on my machine, and cannot get your troubles to repro. ~Andy Kimball MSXSL Dev XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: The document() function....agai, sara . mitchell | Thread | RE: The document() function....agai, Kay Michael |
RE: xslt assistance please, Evan Lenz | Date | Re: Formatting elements. (flat -> g, Paul Tchistopolskii |
Month |