1

内容是从声明增强详细信息的 javascript 函数中提取的,并在节点类型中获取。我想要在未选择增强详细信息并且它返回 null 时的条件。所以它的行将消失。

XSL 文件

<xsl:when test="selecteddata/essentialaddons[enhanceddetails!='']">
<fo:table-row background-color="white">
    <xsl:for-each select="selecteddata/enhancedaddons/enhanceddetails">
        <fo:table-cell border="1pt solid #cccccc">
            <xsl:for-each select="enhancedname">
                <fo:block text-align="justify" margin="10pt"  font-family="sans-serif">
                    <fo:inline padding-right="7pt" padding-left="10pt">
                        <fo:character character="&#x2022;"/>
                    </fo:inline>
                    <xsl:value-of select="." />
                </fo:block>
            </xsl:for-each>
            </fo:block>
        </fo:table-cell>
        <fo:table-cell border="1pt solid #cccccc" padding-before="10%">
            <fo:block text-align="center" margin="5pt"  font-family="sans-serif">
                Fixed Fee
            </fo:block>
        </fo:table-cell>
        <fo:table-cell border="1pt solid #cccccc" padding-before="7%">
            <fo:block text-align="center"  margin="5pt"  font-family="sans-serif">
                <xsl:value-of select="enhancedcost" />
            </fo:block>
        </fo:table-cell>
    </xsl:for-each>
</fo:table-row>

4

0 回答 0