Subject: Re: [xsl] document() function can't follow virtual directory path in MSXML3? From: Mukul Gandhi <mukulw3@xxxxxxxxx> Date: Thu, 14 Aug 2003 19:13:48 -0700 (PDT) |
Hi Brook, This might work -- test="document('http://localhost/virdir/home.xml')" Please use 'localhost' or whatever the host is. Regards, Mukul --- Brook Ellingwood <brook@xxxxxxxxxxx> wrote: > 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 > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] document() function can't, Américo Albuquerque | Thread | RE: [xsl] document() function can't, Jennifer Phillips |
RE: [xsl] document() function can't, Américo Albuquerque | Date | Re: [xsl] RE: Using document() and , Armen Martirossian |
Month |