<xsl:for-each select="//*[not(*)]"> <xsl:value-of select="concat(' ',name(),': ',."/> </xsl:for-each>
因此迭代所有叶元素而没有元素子元素并打印元素名称和内容