Gabriel,
Would it help to know that document() can take a second argument, a node
set, which when used sets the BaseURI used as the starting point for
resolving a relative path to the BaseURI of the first node in the given
set, instead of the stylesheet as normally?
That is, document('my.xml') will find my.xml next to the stylesheet, but
document('my.xml',/) will locate "my.xml" relative to the parsed entity
where "/" was found (which is typically, of course, the root node of the
source document of the transform).
Depending on your file architecture, this may help you work around your
problem. (Though if it's an MSXML3 bug, maybe not.)
Cheers,
Wendell
At 04:12 PM 11/7/2004, you wrote:
hehe yeah that's exactly my problem.. the only XML file I can open with
document() is if it's the same folder as the XSL. :/
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================