我正在使用XSLT (XSLT 2,Saxon B 9.1.0.8)处理XML文档,生成HTML输出。我想要支持一个标签 This is some `markdown` text具有通过pandoc -f markdown -t html过滤标签内容(应该按原样解析,类似于<pre>标签)的语义。如何在XSLT样式表中做到这一点?
我有一个场景,需要从服务器发送的相同字符串中显示html和xml。As you can see it contains both xml to display and html to render.; return this.domSanitizer.bypassSecurityTrustHtml(this.msg);html: