Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 需要帮助吗?请尝试将此xsl样式表输入到紧跟其后的下一行中_Java_Xslt - Fatal编程技术网

Java 需要帮助吗?请尝试将此xsl样式表输入到紧跟其后的下一行中

Java 需要帮助吗?请尝试将此xsl样式表输入到紧跟其后的下一行中,java,xslt,Java,Xslt,从公告中提取sharepoint中的字幕xsl样式表。希望所有的公告都是一卷而不是三卷或四卷。可以这样做吗 这里有代码,任何帮助都可以 <xsl:template name="MarqueeTitleOnly" match="Row[@Style='MarqueeTitleOnly']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> <xsl:

从公告中提取sharepoint中的字幕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和预期的输出。这不是的副本吗?