Mapping XSL

Used to specify the XSL to be used to format the content collected before it is displayed within the web part. For instance, if you wish to display an item as a link, you would use XSL to create a link to an item from the data collected.

This property also supports the Common Use Variables stated at the beginning of this help topic.

Options:

      "[file]="

Use this option to specify a URL to an XSL Stylesheet Template

Example: [file]=<%SiteURL%>/Connections/TasksXSL.xml

      <xsl:stylesheet>…</xsl:stylesheet>

Use this option to specify the XSL Stylesheet XML directly within the property

Example:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">

<Data>

<xsl:for-each select="NewDataSet/Table1">

          <Item>

<Title><xsl:value-of select="Title" /></Title>

</Item>

</xsl:for-each>

</Data>

</xsl:template>

</xsl:stylesheet>

Back to Top