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

RE: XSL, Escaping, undocumented?

Subject: RE: XSL, Escaping, undocumented?
From: Americo Albuquerque <melinor@xxxxxxx>
Date: Mon, 16 Jun 2003 16:40:33 +0100
RE:  XSL
Hi

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> FireNet - Information
> Sent: Sunday, June 15, 2003 1:00 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: SV:  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 >>&amp;<<. 
> Tests have shown that ASP (IIS) converts things like 
> >>&amp;<< 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 &amp;

> _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


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.