
## create_document_fragment {#}

Creates a new empty [`DocumentFragment`](/html/python-net/aspose.html.dom/documentfragment) into which DOM nodes can be added to build an offscreen DOM tree.


### Returns 


The [`DocumentFragment`](/html/python-net/aspose.html.dom/documentfragment).


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





### See Also
* module [`aspose.html.dom.svg`](../../)
* class [`DocumentFragment`](/html/python-net/aspose.html.dom/documentfragment)
* class [`SVGDocument`](/html/python-net/aspose.html.dom.svg/svgdocument)
