# print_module
**Descripción**
Devuelve el módulo en formato XML.
**Parámetros**
**Nombre** | | | **Descripción** |
| | | Módulo en formato dict |
| | | Con True muestra el XML del módulo en STDOUT |
**Return**
**Tipo** | **Descripción** |
str | Módulo en formato XML |
**Versión**
- 1.0.0
**Ejemplo**
```
import pandoraPlugintools as pt
# Define module data
module_data = {
"name": "HostAlive",
"type": "generic_proc",
"value": 1,
"desc": "Check if the host is alive",
}
# Print module data in XML format without printing to STDOUT
module_xml = pt.modules.print_module(module_data, print_flag=False)
print("Module XML:\n", module_xml)
```