Capturing XSLT output with the StringWriter Class

XSLT Output:

Capturing XSLT output with the XmlTextWriter Class

XSLT Output:

Capturing XSLT output with the XmlReader Class

XSLT Output:

Capturing XSLT output with the MemoryStream Class

XSLT Output: