
## get_by_id(id) {#str}

Finds and returns a custom XML part by its identifier.


```python
def get_by_id(self, id: str):
    ...
```

| Parameter | Type | Description |
| --- | --- | --- |
| id | str | Case-sensitive string that identifies the custom XML part. |

### Returns

Returns ``None`` if a custom XML part with the specified identifier is not found.


### See Also

* module [aspose.words.markup](../../)
* class [CustomXmlPartCollection](../)

