title: Advantages of XSLT or Linq to XML
body: <p>What advantages are there for using either XSLT or Linq to XML for HTML parsing in C#?  This is under the assumption that the html has been cleaned so it is valid xhtml.  These values will eventually go into a c# object to be validated and processed. </p>
  
  <p>Please let me know if these are valid and if there are other things to consider.</p>
  
  <p>XSLT Advantages:</p>
  
  <ul>
  <li>Easy to change quickly and deploy</li>
  <li>Fairly well known</li>
  </ul>
  
  <p>XSLT Disadvantages:</p>
  
  <ul>
  <li>Not compiled, so is slower to process</li>
  <li>String manipulation can be cumbersome </li>
  <li>Will more challenging to get into the C# object at the end</li>
  </ul>
  
  <p>Linq to XML Advantages:</p>
  
  <ul>
  <li>Compiled, so it runs faster</li>
  <li>Allows for better string manipulation</li>
  </ul>
  
  <p>Linq to XML Disadvantages:</p>
  
  <ul>
  <li>Must be compiled for update</li>
  </ul>
  
  <p>Edit:
  I should clarify, I want these to run long term an the website may update their layout once a while.  That was one of the bigger reason I thought I would use something that didn't require compiling.</p>