XML to PDF C#

I’m attempting to convert an XML file to PDF in an “as is” state. meaning, I’m not trying to use templating to create a table like structure, I simply want a well formatted XML document to appear. It appears most articles I’ve found do not address this situation. Any advice would be appreciated.
I’m debating using the xmlDoc.OuterXml to get the string value and then write this to a PDF. Are there any other suggestions that may produce a better formatted document (pretty print)?

@djacobus,
If the source XML follows Aspose.Pdf for .NET API schema, then Aspose.Pdf for .NET API can convert an XML document to PDF. Otherwise, you can use regular expression to remove XML tags, and then insert text into the PDF document. Please refer to these help topics: Convert XML file to PDF and Add Text to a PDF file

Best Regards,
Imran Rafique