BiXmlLoader

Loads an XML document from the server or the local file system. (The local file system can only be accessed when using a local application.)

This class extends BiTextLoader and therefore all methods and fields available for BiTextLoader are also available for BiXmlLoader .

Constructor

new BiXmlLoader ( )

Parameters

No parameters.

Properties

Name Type get set Descripton
document BiXmlDocument checked If successfully loaded this returns the loaded BiXmlDocument.

Methods

None.

Events

None.

Static Methods

Name Description
load Loads an XML file synchronously and returns a BiXmlDocument

Static Fields

None.

Remarks

Using syncronous loading freezes the web browser while the loading takes place. This should be prevented as much as possible and therefore asynchronous loading is preferred.

Static Method Details

load

Loads an XML file synchronously and returns a BiXmlDocument

Syntax

BiXmlLoader
 .
 load
 (
 oUri
 )
 

Parameters

Name Type Optional Default Descripton
oUri BiUri The location of the file. If this is a string a new URI is created from that string relative to the ADF path.

Return Type

BiXmlDocument