Sharing Knowledge
XML/XSLT
XSLT How To: Reordering and Alternate Styling based on Position
06 months ago
by Dave Yules
in XML/XSLT
While XSLT is fantastic for organizing and styling XML, when it comes to manipulating the sequence of the information in a way other than basic sorting, it sort of comes up short. Specifically, it seems there isn’t a prepackaged way to grab an item, then simultaneously place it higher in the list and remove it from its original location. This simply cannot be accomplished with the element.
SharePoint 2010 – Creating a Content Query Web Part (CQWP) Link Target
07 months ago
When you setup a CQWP and point to a Links List it allows you to define a few fields of data in the output: 'Title' and 'Link' (unless you have an image as part of your link). This is fine, however we also want to provide a target value. I'm sure there's way to hack at the webpart and do something creative with the XSL, however I've come up with a much simpler method using a calculated field.