Re: Storing HTML in XML



text in a xml node is encoded as you see. if you want the html to appear as xml, then be sure its valid xml and insert it as innerXml

-- bruce (sqlwork.com)

Simon Harris wrote:
Hi All,

I am trying to store an HTML string within an XML node, using:
Node.InnerText = strContent

Problem is, the HTML ends up like this, when its in the XML:
<TextArea1>&amp;lt;b&amp;gt;me&amp;lt;/b&amp;gt;</TextArea1>

Any help will be much appreciated.

Simon.
.



Relevant Pages

  • Re: onclick - reassign new function with parameters after displaye
    ... It creates an HTML document which looks and acts correctly. ... The orginal XSL is creating a record that shows data from two different ... The form reads in those global variables. ... XML Node that forms the context of your little XSL. ...
    (microsoft.public.scripting.jscript)
  • Re: onclick - reassign new function with parameters after displaye
    ... As far as XML data, it is not on the client side, and my limted ... as global parameter the info I need to get correct record from HTML, ... needed into XSL proscessing. ... The form reads in those global variables. ...
    (microsoft.public.scripting.jscript)
  • Re: ruby html (or xhtml) forms class...
    ... xx is a library designed to extend ruby objects with html, xhtml, and xml ... xml or xhtml as clean looking and natural as ruby it self. ... attributes may be passed to any tag method as either symbol or string. ...
    (comp.lang.ruby)
  • Re: Savings as XML document to be used on a website_office2008.
    ... to add the information that HTML cannot describe. ... In DreamWeaver, you would have two choices: ... XML is another variation altogether.And has nothing to do with Fix Word ... This is the default file format. ...
    (microsoft.public.mac.office.word)
  • Re: Google and validation
    ... But Google *should* have a serious look at their HTML, ... XML and standards facilitate modularity. ... the binary format can be made 10-50 times smaller ...
    (alt.internet.search-engines)