I am getting unwated `&#xxx;` characters that I'd like to convert back to the original.

Let's perform a simple XSL transform that does nothing (output = input) **with Russian characters**:

`input.xml` is:

```
<root>Здраве</root>

```

`transform.xsl` is :

```
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="xml" indent="yes"/>
  <xsl:template match="node()|@*">
    <xsl:copy>
      <xsl:apply-templates select="node()|@*"/>
    </xsl:copy>
  </xsl:template>
</xsl:stylesheet>

```

Here is my python code:

```
import lxml.etree as ET

dom = ET.parse("input.xml")
xslt = ET.parse("transform.xsl")
transform = ET.XSLT(xslt)
newdom = transform(dom)

print(ET.tostring(newdom, pretty_print=True))

```

The output is:

```
b'<root>&#1047;&#1076;&#1088;&#1072;&#1074;&#1077;</root>\n'

```

Demo: <https://repl.it/join/lktibwya-vincentandrieu>

My problem is I need to save this to a file that reads `Здраве`, not `&#1047;&#1076;&#1088;&#1072;&#1074;&#1077;`

How can I transform the special chars into their normal representation?