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 7 – <xsl:for-each>

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

Cross-posted from EndUserSharePoint.com… <xsl:for-each> A way to iterate over a nodeset (group of rows). Once you have a rowset like the $Rows I talked about in the prior article about <xsl:variable>, you’ll want to do something with it. If you’ve ever used a report writer or created reports in an application like Microsoft Access, the…

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…

Filtering in SharePoint DVWPs with Multiple Lists in the Data Source

Another question from my contact form: Hi Marc. My problem in short is to get a filters to work on columns that holds values from linked tables. For instance I have a column with xsl:value-of select="../../../Products/Rows/Row[@Title=current()/@ProductID]/@ProductGroup" Am at a loss for a way to do it at this point. A hint would be greatly appreciated….