<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/xslt</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 17:27:14 GMT</pubDate>
<item>
<title>(XSLT) XML structure to Tree View - iroybot</title>
<link>http://snipplr.com/view/71196/xml-structure-to-tree-view/</link>
<description><![CDATA[ <p>a perfect tree representation of a XML structure (with i, l and t and empty node images)</p> ]]></description>
<pubDate>Thu, 16 May 2013 04:15:15 GMT</pubDate>
<guid>http://snipplr.com/view/71196/xml-structure-to-tree-view/</guid>
</item>
<item>
<title>(XSLT) True / False XSLT (Umbraco) - thesmu</title>
<link>http://snipplr.com/view/69184/true--false-xslt-umbraco/</link>
<description><![CDATA[ <p>add as macro in template</p> ]]></description>
<pubDate>Thu, 20 Dec 2012 21:28:13 GMT</pubDate>
<guid>http://snipplr.com/view/69184/true--false-xslt-umbraco/</guid>
</item>
<item>
<title>(XSLT) How to create a sharepoint data form web part that uses only client side JavaScript - rumremix</title>
<link>http://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript/</link>
<description><![CDATA[ <p>With jQuery and SPServices, we have very powerful tools for accessing and manipulating Sharepoint data and precisiely contolling the presentation, entirely from the client side. But such solutions generally need to be either hard-coded into pages or require cumbersome content editor pastes or includes. The advantage of packaging a solution as a web part is that it is a breeze to drop it anywhere on the site. Using the technique below you can package up a purely HTML/JavaScript solution as a web part, combining the benefits of both.

1. Create the HTML/JS content that you would like to turn into a web part in the manner you are most comfortable with
2. Create a dummy page in the site to initially hold our xslt
3. Open site in Sharepoint Designer
4. Find the page created in step 2, detach it from the page layout (by right clicking it), and open it for editing.
5. Place your cursor before the closing < /ContentTemplate > or closing < /asp:Content > tag
6. Paste the code in the source block below.
7. Find 
Title="DataView 1" 
in the code you pasted and replace it with
Title="MoreUsefulWebPartName" 
8. Replace the contents between the opening and closing ![CDATA tags with the HTML and/or JavaScript you created in step 1
9. Select all of the new code, starting with and including the opening WebPartPages:DataFormWebPart tag and ending with and including the closing /WebPartPages:DataFormWebPart tag
10. Switch from code view to designer view. You may ignore any warning you see about missing data sources.
11. Click the web part tab
12. In the "Save Web part" section, select the manner in which you would like to save the new web part.
13. Give the web part a useful name
14. Once you make the new web part available in the web part gallery, users may now add your javascript solution to any page as they would any other web part.</p> ]]></description>
<pubDate>Wed, 26 Sep 2012 05:06:47 GMT</pubDate>
<guid>http://snipplr.com/view/67364/how-to-create-a-sharepoint-data-form-web-part-that-uses-only-client-side-javascript/</guid>
</item>
<item>
<title>(XSLT) Increment value in XSLT - dammark</title>
<link>http://snipplr.com/view/62949/increment-value-in-xslt/</link>
<description><![CDATA[ <p>When you want to increment a value in XSLT, this is an option.</p> ]]></description>
<pubDate>Wed, 01 Feb 2012 03:14:01 GMT</pubDate>
<guid>http://snipplr.com/view/62949/increment-value-in-xslt/</guid>
</item>
<item>
<title>(XSLT) TopMenu - stentebjerg</title>
<link>http://snipplr.com/view/62479/topmenu/</link>
<description><![CDATA[ <p>XSLT menu</p> ]]></description>
<pubDate>Wed, 11 Jan 2012 20:38:45 GMT</pubDate>
<guid>http://snipplr.com/view/62479/topmenu/</guid>
</item>
<item>
<title>(XSLT) XSLT Pagination - iroybot</title>
<link>http://snipplr.com/view/60617/xslt-pagination/</link>
<description><![CDATA[ <p>This Pagination XSLT is working just great for me.  Been using it in numerous projects.</p> ]]></description>
<pubDate>Tue, 08 Nov 2011 00:56:00 GMT</pubDate>
<guid>http://snipplr.com/view/60617/xslt-pagination/</guid>
</item>
<item>
<title>(XSLT) hijack submit or save button on sharepoint list form to redirect - rumremix</title>
<link>http://snipplr.com/view/60467/hijack-submit-or-save-button-on-sharepoint-list-form-to-redirect/</link>
<description><![CDATA[ <p>Comment out the SharePoint:SaveButton tag and replace with input tag</p> ]]></description>
<pubDate>Wed, 02 Nov 2011 10:13:46 GMT</pubDate>
<guid>http://snipplr.com/view/60467/hijack-submit-or-save-button-on-sharepoint-list-form-to-redirect/</guid>
</item>
<item>
<title>(XSLT) Loop baseado em contador - joaobarbosa</title>
<link>http://snipplr.com/view/59786/loop-baseado-em-contador/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 15 Oct 2011 03:25:16 GMT</pubDate>
<guid>http://snipplr.com/view/59786/loop-baseado-em-contador/</guid>
</item>
<item>
<title>(XSLT) How to embed javascript and html inside xslt - rumremix</title>
<link>http://snipplr.com/view/59544/how-to-embed-javascript-and-html-inside-xslt/</link>
<description><![CDATA[ <p>Place the following inside a ``  block</p> ]]></description>
<pubDate>Sat, 08 Oct 2011 03:14:16 GMT</pubDate>
<guid>http://snipplr.com/view/59544/how-to-embed-javascript-and-html-inside-xslt/</guid>
</item>
<item>
<title>(XSLT) JavaScript in XSLT template - nickaranz</title>
<link>http://snipplr.com/view/57548/javascript-in-xslt-template/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 03 Aug 2011 05:23:29 GMT</pubDate>
<guid>http://snipplr.com/view/57548/javascript-in-xslt-template/</guid>
</item>
<item>
<title>(XSLT) Customazing XsltListViewWebPart XSL with pagination - diogoweb</title>
<link>http://snipplr.com/view/55240/customazing-xsltlistviewwebpart-xsl-with-pagination/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 15 Jun 2011 03:43:35 GMT</pubDate>
<guid>http://snipplr.com/view/55240/customazing-xsltlistviewwebpart-xsl-with-pagination/</guid>
</item>
<item>
<title>(XSLT) menu test - wolulcmit</title>
<link>http://snipplr.com/view/51984/menu-test/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 12 Apr 2011 22:02:45 GMT</pubDate>
<guid>http://snipplr.com/view/51984/menu-test/</guid>
</item>
<item>
<title>(XSLT) sort - dscl</title>
<link>http://snipplr.com/view/47119/sort/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 14 Jan 2011 09:46:23 GMT</pubDate>
<guid>http://snipplr.com/view/47119/sort/</guid>
</item>
<item>
<title>(XSLT) XSLT date time processing - sukantahazra</title>
<link>http://snipplr.com/view/45452/xslt-date-time-processing/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 08 Dec 2010 13:18:07 GMT</pubDate>
<guid>http://snipplr.com/view/45452/xslt-date-time-processing/</guid>
</item>
<item>
<title>(XSLT) XSL-FO to make a table - chrisf</title>
<link>http://snipplr.com/view/37957/xslfo-to-make-a-table/</link>
<description><![CDATA[ <p>I am trying to get the table to lay itself out so that the column headers wrap in preference to the table cell values.  Any ideas how to achieve this?</p> ]]></description>
<pubDate>Wed, 28 Jul 2010 01:34:14 GMT</pubDate>
<guid>http://snipplr.com/view/37957/xslfo-to-make-a-table/</guid>
</item>
<item>
<title>(XSLT) Getting a recursive value in xslt in Umbraco. - fengelz</title>
<link>http://snipplr.com/view/37615/getting-a-recursive-value-in-xslt-in-umbraco/</link>
<description><![CDATA[ <p>Umbraco specific xslt snippet that I use regularly. (via neehouse) originally from: http://forum.umbraco.org/yaf_postst2751_XSLT-Tip--Display-a-field-recursively.aspx</p> ]]></description>
<pubDate>Mon, 19 Jul 2010 22:10:36 GMT</pubDate>
<guid>http://snipplr.com/view/37615/getting-a-recursive-value-in-xslt-in-umbraco/</guid>
</item>
<item>
<title>(XSLT) Grouping Using the Muenchian Method - golonikum</title>
<link>http://snipplr.com/view/36892/grouping-using-the-muenchian-method/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 08 Jul 2010 06:57:25 GMT</pubDate>
<guid>http://snipplr.com/view/36892/grouping-using-the-muenchian-method/</guid>
</item>
<item>
<title>(XSLT) Using xsl:sort to sort output nodes by substrings - davidjohnevans</title>
<link>http://snipplr.com/view/36876/using-xslsort-to-sort-output-nodes-by-substrings/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 08 Jul 2010 03:03:19 GMT</pubDate>
<guid>http://snipplr.com/view/36876/using-xslsort-to-sort-output-nodes-by-substrings/</guid>
</item>
<item>
<title>(XSLT) onfocus/onblur - m-pokrovskii</title>
<link>http://snipplr.com/view/36447/onfocusonblur/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 29 Jun 2010 06:01:58 GMT</pubDate>
<guid>http://snipplr.com/view/36447/onfocusonblur/</guid>
</item>
<item>
<title>(XSLT) Replace single quotes - iroybot</title>
<link>http://snipplr.com/view/35222/replace-single-quotes/</link>
<description><![CDATA[ <p>replacing single quotes with its (double-escaped) entity, for use of a text within xsl.</p> ]]></description>
<pubDate>Wed, 26 May 2010 06:41:16 GMT</pubDate>
<guid>http://snipplr.com/view/35222/replace-single-quotes/</guid>
</item>
</channel>
</rss>