XSLT transformations using XMLUnit.NET
Load source document and call transformation
// -----------------------------
var source = Org.XmlUnit.Builder.Input.ByTransforming(Org.XmlUnit.Builder.Input.FromFile(""))
.WithStylesheet(Org.XmlUnit.Builder.Input.FromFile(""))
.Build();
References