title: XSL Transform C# - Root Element Missing
body: <p>Long time reader first time poster!</p>
  
  <p>My question is relatively straight forward...</p>
  
  <p>Source XML: <a href="http://pastebin.com/xHnv20Ej" rel="noreferrer">http://pastebin.com/xHnv20Ej</a>
  XSLT: <a href="http://pastebin.com/bAk6sZ9V" rel="noreferrer">http://pastebin.com/bAk6sZ9V</a></p>
  
  <p>I'm trying to transform the XML using the XSLT.
  All the editors i have used have verified that both files are formatted correctly and transformation is successful.</p>
  
  <p>As soon as i use the XslTransform class in C#, i get a "Root Element Is Missing" Exception.</p>
  
  <pre><code>XslTransform myXslTransform;
  myXslTransform = new XslTransform();
  myXslTransform.Load(Utility.getTransformerToUse());
  myXslTransform.Transform(fullPath, targetFile);
  </code></pre>
  
  <p>As far as I can see, all root elements are present and no other transformer has this issue. Is there something I am missing with regards to C#'s XSLTransform class?</p>
  
  <p>Many thanks.</p>