## BindXml(string) {#bindxml_3}

Bind xml to document

```csharp
public void BindXml(string file)
```

| Parameter | Type | Description |
| --- | --- | --- |
| file | String | The xml file |

### See Also

* class [Document](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)

---

## BindXml(string, string) {#bindxml_4}

Bind xml/xsl to document

```csharp
public void BindXml(string xmlFile, string xslFile)
```

| Parameter | Type | Description |
| --- | --- | --- |
| xmlFile | String | The xml file. |
| xslFile | String | The xsl file if XSLT is used. |

### See Also

* class [Document](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)

---

## BindXml(Stream, Stream) {#bindxml_1}

Bind xml/xsl to document

```csharp
public void BindXml(Stream xmlStream, Stream xslStream)
```

| Parameter | Type | Description |
| --- | --- | --- |
| xmlStream | Stream | The xml stream. |
| xslStream | Stream | The xsl stream if XSLT is used. |

### See Also

* class [Document](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)

---

## BindXml(Stream, Stream, XmlReaderSettings) {#bindxml_2}

Bind xml/xsl to document

```csharp
public void BindXml(Stream xmlStream, Stream xslStream, XmlReaderSettings settings)
```

| Parameter | Type | Description |
| --- | --- | --- |
| xmlStream | Stream | The xml stream. |
| xslStream | Stream | The xsl stream if XSLT is used. |
| settings | XmlReaderSettings | The xml reader settings. |

### See Also

* class [Document](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)

---

## BindXml(Stream) {#bindxml}

Bind xml to document

```csharp
public void BindXml(Stream stream)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | The xml stream. |

### See Also

* class [Document](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)


