XHTML and XSLT question

  •  10-08-2007, 8:40 AM

    XHTML and XSLT question

    When I go to your demo at http://cutesoft.net/example/xmloutput.aspx I do this:
    1) Clear the existing text
    2) Type in test<tab>test<tab>test<spacebar><spacebar><spacebar>test
    3) Click on HTML view and you get <!--<p>test&nbsp;&nbsp;&nbsp;test&nbsp;&nbsp;&nbsp;test&nbsp;&nbsp; test</p>--> without the <!-- --> of course
    4) Click on submit and you get --> <!--<p>test&# 160;&# 160;&# 160;test&# 160;&# 160;&# 160;test&# 160;&# 160; test</p>--> (I had to put spaces next to the # to get them to show..
     
    On my machine, I put a cuteeditor alone on an aspx page with just a button.
    I do the above exactly the same, but when I call push the button and get the .XHTML property, it looks like #3, not like #4 as I would expect. Worse yet, when I save the data and then give it back to CE, it encodes the & again, so i get <!-- &amp;nbsp; -->
     
    What setting am I missing? Is it some global config? I need to get the data in that encoded format, since I use the output in XSLT.
     
    Thanks.
View Complete Thread