
## convert_template {#aspose.html.HTMLDocument-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions}

Merge html template with user data. Result is [`HTMLDocument`](/html/python-net/aspose.html/htmldocument).


### Returns 


Conversion result HTMLDocument.


```python
def convert_template(self, template, data, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| template | [`HTMLDocument`](/html/python-net/aspose.html/htmldocument) | Source skeleton html doc. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |


## convert_template {#aspose.html.Url-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions}

Merge html template with user data. Result is [`HTMLDocument`](/html/python-net/aspose.html/htmldocument).


### Returns 


Conversion result HTMLDocument.


```python
def convert_template(self, url, data, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | Template source document URL. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |


## convert_template {#str-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions}

Merge html template with user data. Result is [`HTMLDocument`](/html/python-net/aspose.html/htmldocument).


### Returns 


Conversion result HTMLDocument.


```python
def convert_template(self, source_path, data, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Path to template source html file. It will be combined with the current directory path to form an absolute URL. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |


## convert_template {#aspose.html.HTMLDocument-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions-str}

Merge html template with user data. Result is html file.



```python
def convert_template(self, template, data, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| template | [`HTMLDocument`](/html/python-net/aspose.html/htmldocument) | Source skeleton html doc. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |
| output_path | str | Output file path. |


## convert_template {#aspose.html.Url-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions-str}

Merge html template with user data. Result is html file.



```python
def convert_template(self, url, data, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | Template source document URL. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |
| output_path | str | Output file path. |


## convert_template {#str-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions-str}

Merge html template with user data. Result is html file.



```python
def convert_template(self, source_path, data, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Path to template source html file. It will be combined with the current directory path to form an absolute URL. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |
| output_path | str | Output file path. |


## convert_template {#aspose.html.Url-aspose.html.Configuration-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions}

Merge html template with user data. Result is [`HTMLDocument`](/html/python-net/aspose.html/htmldocument).


### Returns 


Conversion result HTMLDocument.


```python
def convert_template(self, url, configuration, data, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | Template source document URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |


## convert_template {#str-aspose.html.Configuration-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions}

Merge html template with user data. Result is [`HTMLDocument`](/html/python-net/aspose.html/htmldocument).


### Returns 


Conversion result HTMLDocument.


```python
def convert_template(self, source_path, configuration, data, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Path to template source html file. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |


## convert_template {#str-str-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions}

Merge html template with user data. Result is [`HTMLDocument`](/html/python-net/aspose.html/htmldocument).


### Returns 


Conversion result HTMLDocument.


```python
def convert_template(self, content, base_url, data, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline html template - skeleton. |
| base_url | str | Base URI of the html template. It will be combined with the current directory path to form an absolute URL. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |


## convert_template {#aspose.html.Url-aspose.html.Configuration-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions-str}

Merge html template with user data. Result is html file.



```python
def convert_template(self, url, configuration, data, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| url | [`Url`](/html/python-net/aspose.html/url) | Template source document URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |
| output_path | str | Output file path. |


## convert_template {#str-aspose.html.Configuration-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions-str}

Merge html template with user data. Result is html file.



```python
def convert_template(self, source_path, configuration, data, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| source_path | str | Path to template source html file. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |
| output_path | str | Output file path. |


## convert_template {#str-str-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions-str}

Merge html template with user data. Result is html file.



```python
def convert_template(self, content, base_url, data, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline html template - skeleton. |
| base_url | str | Base URI of the html template. It will be combined with the current directory path to form an absolute URL. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |
| output_path | str | Output file path. |


## convert_template {#str-str-aspose.html.Configuration-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions}

Merge html template with user data. Result is [`HTMLDocument`](/html/python-net/aspose.html/htmldocument).


### Returns 


Conversion result HTMLDocument.


```python
def convert_template(self, content, base_url, configuration, data, options):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline html template - skeleton. |
| base_url | str | Base URI of the html template. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |


## convert_template {#str-str-aspose.html.Configuration-aspose.html.converters.TemplateData-aspose.html.loading.TemplateLoadOptions-str}

Merge html template with user data. Result is html file.



```python
def convert_template(self, content, base_url, configuration, data, options, output_path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| content | str | Inline html template - skeleton. |
| base_url | str | Base URI of the html template. It will be combined with the current directory path to form an absolute URL. |
| configuration | [`Configuration`](/html/python-net/aspose.html/configuration) | The environment configuration. |
| data | [`TemplateData`](/html/python-net/aspose.html.converters/templatedata) | Data for merging (XML, JSON). |
| options | aspose.html.loading.TemplateLoadOptions | Merging options object. |
| output_path | str | Output file path. |



### See Also
* module [`aspose.html.converters`](../../)
* class [`Converter`](/html/python-net/aspose.html.converters/converter)
* class [`HTMLDocument`](/html/python-net/aspose.html/htmldocument)
