Sample code for XML to TEX C# conversion. Use API example code for batch XML files to TEX conversion within VB.NET, ASP.NET, or any .NET-based application... Combine ( dataDir , "xml-to-pdf.xml"...xml" ); var xslFile = Path . Combine ( dataDir , "xml-to-pdf.xsl"...