FileInfo fi = nouveau FileInfo (PathTextBox.Text) ;
Xpdoc de XPathDocument = nouveau XPathDocument (fi.FullName) ;
componentTransform de XslTransform = nouveau XslTransform () ;
componentTransform.Load (Path.Combine (di.FullName, « ComponentFile.xslt »));
corde outputComponentFile = Path.Combine (fi. Directory.FullName, Path.ChangeExtension (fi. Nom, « xml »));
Codage utf8 = nouvel UTF8Encoding (faux) ;
componentWriter de XmlTextWriter = nouveau XmlTextWriter (outputComponentFile, utf8) ;
componentWriter.Formatting = Formatting.Indented ;
componentWriter.WriteStartDocument () ;
componentTransform.Transform (xpdoc, nulle, componentWriter) ;
componentWriter.Close () ; est-ce que class= >