How to prevent XSLT from replacing `&#160;` with `&#nbsp;`

*input.xml*

```
<span style='font:7.0pt "Times New Roman"'>&#160;&#160;&#160;&#160;&#160;

```

*output.xml*

```
<span style="font: 7.0pt&amp;#34;Times New Roman&amp;#34;">&nbsp;&nbsp;&nb

```

If I use `<xsl:output method="xml"/>` then `&#160;` is replaced with Â which I would also like to avoid.

*output.xml with method="xml"*

```
<span style="font: 7.0pt&amp;#34;Times New Roman&amp;#34;">Â Â Â Â Â Â Â Â Â 

```

Also how to prevent it from replacing double quote with `&amp;#34;`

I am trying to use multiple XSLT files in a chain but first XSLT competely messes up the code as shown above.

I was also using following code to allow me to work with `&#nbsp;` in the original HTML but I don't know how to put that into resulting XML file in which case I wouldn't mide having `&#nbsp;` in output.xml

```
<!DOCTYPE doctypeName [
   <!ENTITY nbsp "&#160;">
]> 

```

I have been trying to fix this for hours.