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

document() function can't follow virtual directory pat

Subject: document() function can't follow virtual directory path in MSXML3?
From: Brook Ellingwood <brook@xxxxxxxxxxx>
Date: Thu, 14 Aug 2003 10:38:15 -0700
msxml3.dll error 80070003
Hi,

I'm wondering if anyone has seen this behavior in MSXML3 and if they might
know whether there's a workaround.

I'm storing my XML in a folder outside the www root to meet the host's
security requirements. I follow a virtual directory path to access it. This
works fine, except when I try to call an XML doc via the document()
function, like so:

    <xsl:if test="document('/virdir/home.xml')">
    <font color="white">foo</font>
    </xsl:if> 

I always get this:
    msxml3.dll error '80070003'
    The system cannot find the path specified.
    /index.asp, line 13

I know the path is valid, and I can use in my .asp with no problems. If it
comes down to it, I can always get what I need by moving some formatting to
the .asp, but I was really hoping to keep all the formatting in the
stylesheets.

Any ideas on what might be causing this, or is it just a limitation of
MSXML3 that I have to live with?

Thanks,

-- Brook


 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.