Java 需要帮助吗?请尝试将此xsl样式表输入到紧跟其后的下一行中
从公告中提取sharepoint中的字幕xsl样式表。希望所有的公告都是一卷而不是三卷或四卷。可以这样做吗 这里有代码,任何帮助都可以Java 需要帮助吗?请尝试将此xsl样式表输入到紧跟其后的下一行中,java,xslt,Java,Xslt,从公告中提取sharepoint中的字幕xsl样式表。希望所有的公告都是一卷而不是三卷或四卷。可以这样做吗 这里有代码,任何帮助都可以 <xsl:template name="MarqueeTitleOnly" match="Row[@Style='MarqueeTitleOnly']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> <xsl:
<xsl:template name="MarqueeTitleOnly"
match="Row[@Style='MarqueeTitleOnly']"
mode="itemstyle">
<xsl:variable name="SafeLinkUrl">
<xsl:call-template name="OuterTemplate.GetSafeLink">
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="DisplayTitle">
<xsl:call-template name="OuterTemplate.GetTitle">
<xsl:with-param name="Title" select="@Title"/>
<xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
</xsl:call-template>
</xsl:variable>
<div class="item link-item">
<xsl:call-template name="OuterTemplate.CallPresenceStatusIconTemplate"/>
<a href="{$SafeLinkUrl}" title="{@LinkToolTip}">
<xsl:if test="$ItemsHaveStreams = 'True'">
<xsl:attribute name="onclick">
<div style="color: #77504; font-size: 1pt;">
<xsl:value-of select="@OnClickForWebRendering"/>
</div>
</xsl:attribute>
</xsl:if>
<xsl:if test="$ItemsHaveStreams != 'True' and @OpenInNewWindow = 'True'">
<xsl:attribute name="onclick">
<div style="color: #77504; font-size: 18pt;">
<xsl:value-of disable-output-escaping="yes" select="$OnClickTargetAttribute"/>
</div >
</xsl:attribute>
</xsl:if>
<div style="color:#77504 ; font-family: sans-serif; font-size: 15pt;">
<marquee direction="left" style="border:; background: ;">
<xsl:value-of select="$DisplayTitle" />
</marquee >
</div>
</a>
</div>
请添加小的输入xml和预期的输出。这不是的副本吗?