login about faq

Been examining the results of HtmlToXml and Xml and found something unexpected with .LoadXml2 and .LoadXml.

            xmlalt1.LoadXml2(html2xml.ToXml(), false);
            xmlalt2.LoadXml2(html2xml.ToXml(), true);

If I am looking at my results correctly, LoadXml and LoadXml2 w true/auto-trim set are the same. LoadXml2 w false set yields a potentially different output.

I prefer the behavior as it stands. just thought the documentation could clarify this as I took .LoadXml as not having auto-trim.

asked Jun 28 '12 at 00:04

nomadicus's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jun 28 '12 at 00:04

Seen: 2,306 times

Last updated: Jun 28 '12 at 00:04

powered by OSQA