/// <summary> /// Asserts that the results of an XSL transform on some XML are the expected result /// </summary> /// <param name="xslTransform">The XSL transform.</param> /// <param name="xmlToTransform">The XML to transform.</param> /// <param name="expectedResult">The expected result.</param> public static void XslTransformResults(XmlInput xslTransform, XmlInput xmlToTransform, XmlInput expectedResult) { Xslt xslt = new Xslt(xslTransform); XmlOutput output = xslt.Transform(xmlToTransform); XmlEquals(expectedResult, output.AsXml()); }