## XmlDocument::CreateSignificantWhitespace method


Creates an [XmlSignificantWhitespace](../../xmlsignificantwhitespace/) node.

```cpp
virtual SharedPtr<XmlSignificantWhitespace> System::Xml::XmlDocument::CreateSignificantWhitespace(const String &text)
```


| Parameter | Type | Description |
| --- | --- | --- |
| text | const String\& | The string must contain only the following characters **'\x20'**, **'\x0d'**, **'\x0a'**, **'\x09'**. |

### ReturnValue

A new [XmlSignificantWhitespace](../../xmlsignificantwhitespace/) node.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSignificantWhitespace](../../xmlsignificantwhitespace/)
* Class [String](../../../system/string/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
