Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
给定xml:
<element>text</element> ... <element>text</element>
和 xsl:
<xsl:for-each select="element"> ... </xsl:for-each>
我需要在 for-each 循环中放入什么来访问文本?似乎没有对应的,xsl:value-of因为select="",select="/"和select="element"都是错误的。
xsl:value-of
select=""
select="/"
select="element"
<xsl:value-of select="."/>