Unlocking the Mysteries of Data View Web Part XSL Tags – Part 11 – <xsl:value-of>

This entry is part 11 of 21 in the series Unlocking the Mysteries of Data View Web Part XSL Tags

Cross-posted from EndUserSharePoint.com… <xsl:value-of> Outputs the value to which it evaluates, whether it be the value of a column, a variable, etc. <xsl:value-of> is sort of the “biggie” XSL tag.  It’s what you use to output values of things that are variable.  Pretty much every other tag we’ve talked about exists to get you to…

Unlocking the Mysteries of Data View Web Part XSL Tags – Part 10 – <xsl:choose>

This entry is part 10 of 21 in the series Unlocking the Mysteries of Data View Web Part XSL Tags

Cross-posted from EndUserSharePoint.com… <xsl:choose> Like <xsl:if>, but with multiple possibilities, more like if-then-else. <xsl:when> Used within <xsl:choose> as a conditional test.  If the test is true, then the contained code is executed and the <xsl:choose> is exited. <xsl:otherwise> Used within <xsl:choose> as the “fall-back” condition. If none of the prior <xsl:when>s have been executed, the…

Unlocking the Mysteries of Data View Web Part XSL Tags – Part 9 – <xsl:if>

This entry is part 9 of 21 in the series Unlocking the Mysteries of Data View Web Part XSL Tags

Cross-posted from EndUserSharePoint.com… <xsl:if> A single conditional test. If the test is true, then the contained code is executed. <xsl:if> is one of the simple workhorses in the Data View Web Part (DVWP) XSL arsenal.  Its entire goal in life is to determine whether the code it contains is executed or not. Looking at our…

Unlocking the Mysteries of Data View Web Part XSL Tags – Part 8 – <xsl:sort>

This entry is part 8 of 21 in the series Unlocking the Mysteries of Data View Web Part XSL Tags

Cross-posted from EndUserSharePoint.com… <xsl:sort> Used within an <xsl:for-each> to determine the sort order in which the nodeset (group of rows) are processed. <xsl:sort> allows you to change the default sort order of the items as they are displayed in a Data View Web Part (DVWP).  By default (in almost all cases), the items will be…

Unlocking the Mysteries of Data View Web Part XSL Tags – Part 6 – <xsl:variable>

This entry is part 6 of 21 in the series Unlocking the Mysteries of Data View Web Part XSL Tags

Cross-posted from EndUserSharePoint.com… <xsl:variable> A value you create for use within a template which is only defined within the scope of that template. Parameters and variables are used interchangeably, but how you create them is a bit different. While a parameter is a value which you expect to receive, a variable is something which you…