I have a sample xml below with
<p>this is a test</p>
<p>this is      a test</p>
If the xsl:output method="html", then   is converted correctly to and the html output is displayed ccorrectly.
However, I need to have an xhtml output so it is xsl:output method="xml". The reason I need to do this is because I need to render to a new xml file and then this xml file is applied to another xsl to get the final html output.
My issue is when I apply the above sample xml using method="xml", the   is converted to a space character (a blanks space). Thus, when this new xml is applied to the xsl with html output, I get invalid character (the invalid Â)
I guess in oder to resolve this, is there anyway when I have xml output, it doesnt convert   but pass-thru directly to the xml output ( ) then this will be converted correctly to   when applied again with html output.
If my 1st xml output converts the  , then I will end up with invalid character Â.
Thanks to everyone for helping out.