new TextInventory(xml, namespace, identifier)
Instantiate CTS TextInventory from CTS5 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.cts5.TextGroup> | Textgroup available in the inventory |