Re: entity expanding in MSIE5

Subject: Re: entity expanding in MSIE5
From: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Wed, 7 Jul 1999 23:04:40 -0700
If "data" is the name of an XML Data Island in a
page, then you can do:

file = "YourFileName.xml";

data.async = false;
data.resolveExternals   = true; 
data.validateOnParse    = true;
data.preserveWhiteSpace = false;

data.load( file );
err = data.parseError;
error = err.errorCode;
if ( error == 0 ) {
  alert(file + " is valid." );
}
else {
  alert( file + " has errors...\n" + 
         err.srcText + "\n" +
         "Line " + err.line + ", Pos " + err.linepos + "\n" +
         "Error: " + err.reason );
}

----- Original Message ----- 
From: Eugeny Kuzakov <kev@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Wednesday, July 07, 1999 10:14 PM
Subject: entity expanding in MSIE5


| 
| hi*
| 
| I have documents, that based on dtd, that contains entityes.
| MSIE5 don't try expand it. How can I solve this problem?
| Thanks for advices.
| 
| --
| Best wishes, Eugeny Kuzakov
| Laboratory 321 ( Omsk, Russia )
| kev@xxxxxxxxx
| ICQ#: 5885106
| 
| 
| 
|  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread