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