[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: The document() function....again !!

Subject: RE: The document() function....again !!
From: Andrew Kimball <akimball@xxxxxxxxxxxxx>
Date: Fri, 13 Oct 2000 18:36:22 -0700
RE: The document() function....again !!
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.