Yuan Yijun (bbbush) wrote,
Yuan Yijun

xml 片段的 xslt 不能从 match="/" 开始执行(msxml3)

很少遇到片段的情况,今天才知道片段的根节点类型是 element 而不是 document,在 xslt 中可以见到完整的 document
(用 xsl:copy-of select="/"),却无法自 match="/" 开始执行。话说 xsl:copy-of 真是好东西,
xsl:copy-of select="document('')" 就是代码自身了。
Tags: 工作

  • BP 1st year

    Basic Program is a reading program from UChicago. The information can be found here [1] and currently it is open for signing up for the next year…

  • 2020

    Last time I wrote a review was in 2018, about 2017. Or maybe I wrote something elsewhere, maybe on Twitter? It was hard to write something freely…

  • Crime and Punishment

    As a step to improve the illiterate situation I joined the Basic Program this year. It had been in my mind for a couple years, but glad this time I…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded