|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Absolute paths in document() function under MSXML3
> Hey guys,
>
> I have a situation where I generate a string that is an
> absolute URL. I'm
> using this string to load an external XML document for
> processing using
> document().
>
> When I'm developing my XSL, I use Stylus Studio. I ran my XSL
> transform
> through their processor and MSXML and in both instances, the transform
> worked fine, exactly as I had expected. However, when I went
> to use the
> transform from an ASP page, I ran off of the same system I
> develop from, I
> got the following error:
>
> Error Type:
> msxml3.dll (0x80004005)
> Error while parsing "http://adam/component/FlashDataNav.xml".
> No data is
> available for the requested resource.
> /config.asp, line 104
>
> {line 104 is the transform() line)
>
> No the only problem with that is
> http://adam/component/FlashDataNav.xml
> loads quite nicely from IE so the file exists and its valid XML.
>
> I'm using an MSXML2.IXSLProcessor to do the transformation.
>
Probably what is happening is that IE is requesting the file
using http from the server but your asp is running the processor
directly and tries to load the .asp from the root of your local
hard disk. Also it won't actually run the asp file as you'll need
to tear it off with some other component and point the document()
at that with a disk reference. If you have the file you're loading
as a xsl:parameter you can change it when running on the server
for the asp page.
Hope this helps.
--
Richard(Slow,Cr*p and ShitScared(TM))Mitchell
GPz500S 34Mm /mnt JH125B 23Mm /tmp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








