Caplin Trader 5.1.0

Class: module:br-services/xml/BRXmlResourceService

module:br-services/xml/BRXmlResourceService(sUrl)

This class provides access to XML documents loaded via the XML bundler.

Constructor

new module:br-services/xml/BRXmlResourceService(sUrl)

Parameters:
Name Type Description
sUrl String

The url to load to retrieve the XML resource.

Implements:

Methods

getXmlDocument(sElementName)

Access an XML document by name.

Parameters:
Name Type Description
sElementName String

The name of the root element of the particular document you wish to retrieve (e.g. 'gridDefinitions')

Implements: