如何用xslt+xml动态生成表单?
假如xml每行对应的数据有10个字段,
我想根据配置来决定显示其中的部分字段,
例如,配置1需要显示1,3,4,5,7字段
配置2需要显示1,2,4,6,8,9,10字段
xslt文件该怎样写?
[解决办法]
<xsl:choose> <xsl:when test= "你的判断条件 "> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose>