public static string XmlTransform(this ICakeContext context, string xsl, string xml, XmlTransformationSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } return(XmlTransformation.Transform(xsl, xml, settings)); }
public static void XmlTransform(this ICakeContext context, FilePath xslPath, FilePath xmlPath, FilePath resultPath, XmlTransformationSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } XmlTransformation.Transform(context.FileSystem, xslPath, xmlPath, resultPath, settings); }
public static string XmlTransform(this ICakeContext context, string xsl, string xml) { if (context == null) { throw new ArgumentNullException("context"); } return(XmlTransformation.Transform(xsl, xml)); }
public static void XmlTransform(this ICakeContext context, FilePath xslPath, FilePath xmlPath, FilePath resultPath) { if (context == null) { throw new ArgumentNullException("context"); } var settings = new XmlTransformationSettings(); XmlTransformation.Transform(context.FileSystem, xslPath, xmlPath, resultPath, settings); }