Re: Using '#' in filename in JScript causes error
From: Charles T (charleshlt_at_nospam.com)
Date: 03/30/04
- Next message: Xi Chum: "Re: Connecting To Oracle DB"
- Previous message: Wei-Dong XU [MSFT]: "RE: Using '#' in filename in JScript causes error"
- In reply to: Wei-Dong XU [MSFT]: "RE: Using '#' in filename in JScript causes error"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 10:46:50 +0100
Thnaks Wei-Dong
I'd forgotten that load was on a URL, not a filename.
Regards, Charles
"Wei-Dong XU [MSFT]" <v-wdxu@online.microsoft.com> wrote in message
news:PWgB4qjFEHA.756@cpmsftngxa06.phx.gbl...
> Hi Charles,
>
> The 'load' method takes a URI and URI's need to be escaped if they contain
special characters.
> This works:
> xmlDoc.load("SomeFile%23.xml");
>
> (% = 0x23 in ASCII)
>
> Please feel free to let me know if you have any further questions.
>
> Best Regards,
> Wei-Dong Xu
> Microsoft Product Support Services
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
- Next message: Xi Chum: "Re: Connecting To Oracle DB"
- Previous message: Wei-Dong XU [MSFT]: "RE: Using '#' in filename in JScript causes error"
- In reply to: Wei-Dong XU [MSFT]: "RE: Using '#' in filename in JScript causes error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|