This document uses the Strategy Extensible Stylesheet Language (XSL) stylesheet 'Default.xsl' as an example.
Perform the following steps to modify the XSL stylesheet so that hyperlinks to reports in document objects do not appear.
- Make a backup copy of the original 'Default.xsl'.
- Edit this stylesheet with an XML editor or alternatively with Notepad.
- Remove the following lines of code from the stylesheet for grid report:
<!-- report link -->
<A><xsl:attribute name="HREF">RebuildReport.asp?ReportID=<xsl:value-of select="$sReportID" />&MsgID=<xsl:value-of select="/mi/im/@mid" />&view=Grid&redirect=False&Duplicate=True</xsl:attribute
><FONT FACE="Verdana,Arial,MS Sans Serif" SIZE="1" COLOR="#000000"
><B><xsl:value-of select="/mi/rit/rd/mi/in/oi/@n" /></B
></FONT
></A>
<P />
- Remove the following lines of code from the stylesheet for graph report:
<A><xsl:attribute name="HREF">RebuildReport.asp?ReportID=<xsl:value-of select="$sReportID" />&MsgID=<xsl:value-of select="/mi/im/@mid" />&view=Graph&redirect=False&MajorType=<xsl:value-of select="./@gat" />&MinorType=<xsl:value-of select="./@git" />&Duplicate=True</xsl:attribute>
<FONT FACE="Verdana,Arial,Sans Serif" SIZE="1" COLOR="#000000">
<B><xsl:value-of select="/mi/in/oi/@n" /></B>
</FONT>
</A>
- Save the changes made to the stylesheet.
- Run a document in either Strategy Developer or Strategy Web. Notice that there are no hyperlinks generated below each report in the document object.