0
如何自動選擇下一個塊而不列出「xsl:for-each select =」name | lastname | third「」?如何自動選擇下一個塊xsl:fo
XSL:
<fo:table>
<fo:table-body>
<xsl:for-each select="table">
<fo:table-row>
<xsl:for-each select="name|lastname|third">
<fo:table-cell>
<fo:block><xsl:value-of select="."/></fo:block>
</fo:table-cell>
</xsl:for-each>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
XML:
<table>
<name>Name</name>
<lastname>Lastname</lastname>
<third>Third</third>
</table>