How to read plain text content with XSLT 1.0
It is not possible for the input document to be plain text because the input to an XSLT 1.0 transformation must be well-formed XML. Here are some alternative ways to access plain text in an XSLT transformation: Use unparsed-text in XSLT 2.0. Pass the plain text in via top-level parameters (xsl:param). Preprocess the text file … Read more