I am processing XML document using XSLT (XSLT 2, Saxon B 9.1.0.8), producing HTML output. I want to support a tag
<markdown>
This is some `markdown` text
</markdown>
with the semantics that the content of the tag (which should be parsed as-is, similar to a <pre>
tag) would be filtered through pandoc -f markdown -t html
.
How can I do that from an XSLT stylesheet?