Hi
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
FireNet - Information
Sent: Sunday, June 15, 2003 1:00 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: SV: [xsl] XSL, Escaping, undocumented?
I'm using MS XML 4, XSL transformation.
My problem seems to be, that the document() function in XSL
doesn't pass a GET request when the URL contains >>&<<.
Tests have shown that ASP (IIS) converts things like
&<< to >>&<< automaticly.
The problem therefore lies in the document() function. I
No. the problem lies in the way asp connect to files. Document() function in
asp only opens local files, it doesn't open http:// ot ftp:// files. With or
without &
_could_ write # instead of &, and make the ASP script switch
the characters.
- surely, I'd rather have it work the right way. Any ideas?
If you do the transformation on the client your document('www.bla.com') will
work just fine.
The way I usualy do it on the server side is:
Create a MSXML2.ServerXMLHTTP
Load the http:// or ftp:// file
Append it to the original xml doc with
doc.documentElement.appendChild(httpdoc.responseXML.documentElement)
And the do the Transformation
Hope thi shelps you
(...)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list