
## XbrlDocument() {#}

Initializes a new instance of XbrlDocument class



```python
def __init__(self):
    ...
```




## XbrlDocument(file_name) {#str}

Initializes a new instance of XbrlDocument class and open a file.



```python
def __init__(self, file_name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_name | str | The file name. |


## XbrlDocument(file_name, options) {#str-LoadOptions}

Initializes a new instance of XbrlDocument class and open a file.



```python
def __init__(self, file_name, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| file_name | str | The file name. |
| options | [LoadOptions](/finance/python-net/aspose.finance.xbrl/loadoptions) | The load options. |



### See Also
* module [aspose.finance.xbrl](../../)
* class [XbrlDocument](/finance/python-net/aspose.finance.xbrl/xbrldocument)
