# Text To Datatable

Converts an `XML` text string to a `DataTable` according to the specified element filter.


---

### :arrow_left:**INPUT**

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `Xml`     | `String` | ✅Yes     | XML text string |
| `ElementName` | `String` | ✅Yes     | Name of the element to extract |
| `ParentElementName` | `String` | ✅Yes     | Parent element name |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsTextToDataTableSuccessful` | `Boolean` | Whether the operation succeeded |
| `TextToDataTableMessage` | `String` | Status/error message |
| `TextToDataTableResult` | `DataTable` | Converted DataTable |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Throw exception on error |