这是我的 XML 文件。我想<P>
在 XSLT 中导入没有标签的 DESCRIPTION 节点标签的内容。
<DESCRIPTION>
<P>A pagina 3, modificare:</P>
<P>carte per il diporto - Leisure crafts</P>
<P>in:</P>
<P>
<STRONG>Carte Nautiche in Kit - Nautical Charts in </STRONG>
</P>
</DESCRIPTION>
XSL:
<xsl:if test="last()>1">
<span style=" font-family:Arial; line-height:0; ">
<xsl:value-of select="concat(position(), ')')"/>
</span>
</xsl:if>
<xsl:for-each select="NTC_CATALOGUEINSTRUCT">
<xsl:for-each select="DESCRIPTION">
<span style="text-align:justify; margin-bottom:0pt">
<xsl:apply-templates/> </span>
</xsl:for-each>
</xsl:for-each>
这个 XML ---> XSL 文件的输出是:
1)
A pagina 3, modificare:
carte per il diporto - Leisure crafts charts...............................................51
in:
Carte Nautiche in Kit - Nautical Charts in Kit.........................................51
我想:
1) A pagina 3, modificare: <------((((( look in the same line ))))))
carte per il diporto - Leisure crafts charts...............................................51
in:
Carte Nautiche in Kit - Nautical Charts in Kit.........................................51