new TextInventory(xml, namespace, identifier)
Instantiate CTS TextInventory from CTS3 XML
Parameters:
Name | Type | Description |
---|---|---|
xml |
document | Parsed XML representing the inventory |
namespace |
string | Namespace to use |
identifier |
string | Identifier, usually an URI |
Properties:
Name | Type | Description |
---|---|---|
namespace |
string | Namespace for nodes parsing |
xml |
Node | XML node representing the TextInventory node |
textgroups |
Array.<CTS.repository.Prototypes.cts3.TextGroup> | Textgroup available in the inventory |