## Document::BindXml(const System::SharedPtr\<System::IO::Stream\>\&) method


Bind xml to document.

```cpp
void Aspose::Pdf::Document::BindXml(const System::SharedPtr<System::IO::Stream> &stream)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stream | const System::SharedPtr\<System::IO::Stream\>\& | The xml stream. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Document](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
## Document::BindXml(const System::SharedPtr\<System::IO::Stream\>\&, const System::SharedPtr\<System::IO::Stream\>\&) method


Bind xml/xsl to document.

```cpp
void Aspose::Pdf::Document::BindXml(const System::SharedPtr<System::IO::Stream> &xmlStream, const System::SharedPtr<System::IO::Stream> &xslStream)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xmlStream | const System::SharedPtr\<System::IO::Stream\>\& | The xml stream. |
| xslStream | const System::SharedPtr\<System::IO::Stream\>\& | The xsl stream if XSLT is used. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Document](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
## Document::BindXml(const System::SharedPtr\<System::IO::Stream\>\&, const System::SharedPtr\<System::IO::Stream\>\&, const System::SharedPtr\<System::Xml::XmlReaderSettings\>\&) method


Bind xml/xsl to document.

```cpp
void Aspose::Pdf::Document::BindXml(const System::SharedPtr<System::IO::Stream> &xmlStream, const System::SharedPtr<System::IO::Stream> &xslStream, const System::SharedPtr<System::Xml::XmlReaderSettings> &settings)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xmlStream | const System::SharedPtr\<System::IO::Stream\>\& | The xml stream. |
| xslStream | const System::SharedPtr\<System::IO::Stream\>\& | The xsl stream if XSLT is used. |
| settings | const System::SharedPtr\<System::Xml::XmlReaderSettings\>\& | The xml reader settings. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [XmlReaderSettings](../../../system.xml/xmlreadersettings/)
* Class [Document](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
## Document::BindXml(const System::String\&, const System::String\&) method


Bind xml/xsl to document.

```cpp
void Aspose::Pdf::Document::BindXml(const System::String &xmlFile, const System::String &xslFile)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xmlFile | const System::String\& | The xml file. |
| xslFile | const System::String\& | The xsl file if XSLT is used. |

## See Also

* Class [String](../../../system/string/)
* Class [Document](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
## Document::BindXml(System::String) method


Bind xml to document.

```cpp
void Aspose::Pdf::Document::BindXml(System::String file)
```


| Parameter | Type | Description |
| --- | --- | --- |
| file | System::String | The xml file |

## See Also

* Class [String](../../../system/string/)
* Class [Document](../)
* Namespace [Aspose::Pdf](../../)
* Library [Aspose.PDF for C++](../../../)
