# {py:mod}`arelle.XhtmlValidate`
```{py:module} arelle.XhtmlValidate
```
```{autodoc2-docstring} arelle.XhtmlValidate
:allowtitles:
```
## Module Contents
### Functions
````{list-table}
:class: autosummary longtable
:align: left
* - {py:obj}`xhtmlValidate `
- ```{autodoc2-docstring} arelle.XhtmlValidate.xhtmlValidate
:summary:
```
* - {py:obj}`containsNamespacedElements `
- ```{autodoc2-docstring} arelle.XhtmlValidate.containsNamespacedElements
:summary:
```
````
### API
````{py:function} xhtmlValidate(modelXbrl: arelle.ModelXbrl.ModelXbrl, elt: arelle.ModelObject.ModelObject) -> None
:canonical: arelle.XhtmlValidate.xhtmlValidate
```{autodoc2-docstring} arelle.XhtmlValidate.xhtmlValidate
```
````
````{py:function} containsNamespacedElements(elt: lxml.etree.ElementBase, namespace: str) -> bool
:canonical: arelle.XhtmlValidate.containsNamespacedElements
```{autodoc2-docstring} arelle.XhtmlValidate.containsNamespacedElements
```
````