<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for Rik on code</title>
	<link>http://www.rikarends.com</link>
	<description>Ideas and code</description>
	<pubDate>Fri, 29 Aug 2008 03:31:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.1</generator>

	<item>
		<title>Comment on JSLT javascript-based XSLT alternative by Buy fioricet online.</title>
		<link>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-558</link>
		<author>Buy fioricet online.</author>
		<pubDate>Sat, 03 Nov 2007 00:03:35 +0000</pubDate>
		<guid>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-558</guid>
					<description>&lt;strong&gt;Buy fioricet online that ships to missouri....&lt;/strong&gt;

Buy fioricet online. Buy fioricet online that ships to missouri. Buy fioricet online without a prescription....</description>
		<content:encoded><![CDATA[<p><strong>Buy fioricet online that ships to missouri&#8230;.</strong></p>
<p>Buy fioricet online. Buy fioricet online that ships to missouri. Buy fioricet online without a prescription&#8230;.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on About by mziskandar</title>
		<link>http://www.rikarends.com/about/#comment-88</link>
		<author>mziskandar</author>
		<pubDate>Sun, 29 Apr 2007 16:23:07 +0000</pubDate>
		<guid>http://www.rikarends.com/about/#comment-88</guid>
					<description>Really really really great tools!!! Thank you so much for sharing.

Really appreciate it!</description>
		<content:encoded><![CDATA[<p>Really really really great tools!!! Thank you so much for sharing.</p>
<p>Really appreciate it!</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on JSLT javascript-based XSLT alternative by Fatih Hayrioğlu&#8217;nun not defteri &#187; 19 Nisan 2007 Web&#8217;den seçme haberler</title>
		<link>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-84</link>
		<author>Fatih Hayrioğlu&#8217;nun not defteri &#187; 19 Nisan 2007 Web&#8217;den seçme haberler</author>
		<pubDate>Thu, 19 Apr 2007 08:50:29 +0000</pubDate>
		<guid>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-84</guid>
					<description>[...] XSLT&#8217;e javascript alternatifi. JSLT. Link [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] XSLT&#8217;e javascript alternatifi. JSLT. Link [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on JSLT javascript-based XSLT alternative by Tim Weaver</title>
		<link>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-83</link>
		<author>Tim Weaver</author>
		<pubDate>Wed, 18 Apr 2007 01:20:07 +0000</pubDate>
		<guid>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-83</guid>
					<description>&lt;strong&gt;XSLT is Hard so Try JSLT Instead...&lt;/strong&gt;

When I first read this post on the Ajaxian my very first (somewhat unkind) thought was OMG do we really...</description>
		<content:encoded><![CDATA[<p><strong>XSLT is Hard so Try JSLT Instead&#8230;</strong></p>
<p>When I first read this post on the Ajaxian my very first (somewhat unkind) thought was OMG do we really&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on JSLT javascript-based XSLT alternative by David Levy (( Creativity Matters &#187; Blog Archive &#187; JSLT : du XSLT en pur Javascript</title>
		<link>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-82</link>
		<author>David Levy (( Creativity Matters &#187; Blog Archive &#187; JSLT : du XSLT en pur Javascript</author>
		<pubDate>Tue, 17 Apr 2007 09:39:07 +0000</pubDate>
		<guid>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-82</guid>
					<description>[...] nouvelle librairie JSLT aussi exotique qu&#8217;utile remarquee par [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] nouvelle librairie JSLT aussi exotique qu&#8217;utile remarquee par [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on JSLT javascript-based XSLT alternative by admin</title>
		<link>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-81</link>
		<author>admin</author>
		<pubDate>Tue, 17 Apr 2007 09:07:43 +0000</pubDate>
		<guid>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-81</guid>
					<description>Hi Matt,

I have added a sort function per your request. Please check the live example/ blog article for updates on sort.

Your example looks like this now:
[sort('re','date',sort_date){]
 
[}]

Please be aware the sort xpath is relative to the foreach xpath and is executed on each item in the foreachset to obtain the sorting set.
Also, the core sorting algo works on 'stringsort' the function you pass in essentially converts the context node (date in this case) to a string
that can be properly sorted. the sort_date function converts a date to a 0 padded integer for example to apply stringsort.
</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>I have added a sort function per your request. Please check the live example/ blog article for updates on sort.</p>
<p>Your example looks like this now:<br />
[sort(&#8217;re&#8217;,'date&#8217;,sort_date){]</p>
<p>[}]</p>
<p>Please be aware the sort xpath is relative to the foreach xpath and is executed on each item in the foreachset to obtain the sorting set.<br />
Also, the core sorting algo works on &#8217;stringsort&#8217; the function you pass in essentially converts the context node (date in this case) to a string<br />
that can be properly sorted. the sort_date function converts a date to a 0 padded integer for example to apply stringsort.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on JSLT javascript-based XSLT alternative by Matt K.</title>
		<link>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-80</link>
		<author>Matt K.</author>
		<pubDate>Tue, 17 Apr 2007 06:44:51 +0000</pubDate>
		<guid>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-80</guid>
					<description>I wish there was a sortby function.
Like
[*'re' sortby('date'){]

[}]

I don't know if this is possible but it would be mighty useful.

Thanks,
Matt k.</description>
		<content:encoded><![CDATA[<p>I wish there was a sortby function.<br />
Like<br />
[*&#8217;re&#8217; sortby(&#8217;date&#8217;){]</p>
<p>[}]</p>
<p>I don&#8217;t know if this is possible but it would be mighty useful.</p>
<p>Thanks,<br />
Matt k.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on JSLT javascript-based XSLT alternative by biker from bikaner</title>
		<link>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-77</link>
		<author>biker from bikaner</author>
		<pubDate>Mon, 16 Apr 2007 07:27:24 +0000</pubDate>
		<guid>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-77</guid>
					<description>Hi,
   Iam a victim of my own comment of outputting the tag character. The forum software ignored the stuff I had inside tags. What I meant to write was:
      
 is the following possible:

enter template A:

&#60;new_tag&#62;

exit template A:

enter template B:

&#60;/new_tag&#62;

exit template B:</description>
		<content:encoded><![CDATA[<p>Hi,<br />
   Iam a victim of my own comment of outputting the tag character. The forum software ignored the stuff I had inside tags. What I meant to write was:</p>
<p> is the following possible:</p>
<p>enter template A:</p>
<p>&lt;new_tag&gt;</p>
<p>exit template A:</p>
<p>enter template B:</p>
<p>&lt;/new_tag&gt;</p>
<p>exit template B:</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on JSLT javascript-based XSLT alternative by All in a days work&#8230;</title>
		<link>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-76</link>
		<author>All in a days work&#8230;</author>
		<pubDate>Sat, 14 Apr 2007 01:46:07 +0000</pubDate>
		<guid>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-76</guid>
					<description>[...] JSLT - a JavaScript replacement for XSLT Instead of XML, it uses Javascript with a few extensions. Transform XML with it or just template with JavaScript variables. The JSLT processor parses the template using a recursive tokenizing parser and generates javascript code for fast dynamic (re-)exec (tags: XSLT JavaScript) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] JSLT - a JavaScript replacement for XSLT Instead of XML, it uses Javascript with a few extensions. Transform XML with it or just template with JavaScript variables. The JSLT processor parses the template using a recursive tokenizing parser and generates javascript code for fast dynamic (re-)exec (tags: XSLT JavaScript) [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on JSLT javascript-based XSLT alternative by admin</title>
		<link>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-73</link>
		<author>admin</author>
		<pubDate>Fri, 13 Apr 2007 15:01:53 +0000</pubDate>
		<guid>http://www.rikarends.com/jslt-alternative-to-xslt/#comment-73</guid>
					<description>Hi Prakash,

JSLT outputs 'tags' instead of nodes. It is a text-templating language. However, it could be extend to output tags. This will probably be a lot slower (DOM api from JS is really not fast), but that method will prevent missing tag errors. Sofar i have not run into issues with forgetting a tag. Just check the output of your template in an XML parser (as always happens when generating XML) to solve the problem.

On the unreadability part, i agree that it requires some getting used to reading JSLT. However, so does XSLT. I personally find large XSLT documents very hard to read, much harder than code. Especially if they have functionality encoded in recursive logic (that should be a loop or a temporary array). I guess its just something to get used to with JSLT.</description>
		<content:encoded><![CDATA[<p>Hi Prakash,</p>
<p>JSLT outputs &#8216;tags&#8217; instead of nodes. It is a text-templating language. However, it could be extend to output tags. This will probably be a lot slower (DOM api from JS is really not fast), but that method will prevent missing tag errors. Sofar i have not run into issues with forgetting a tag. Just check the output of your template in an XML parser (as always happens when generating XML) to solve the problem.</p>
<p>On the unreadability part, i agree that it requires some getting used to reading JSLT. However, so does XSLT. I personally find large XSLT documents very hard to read, much harder than code. Especially if they have functionality encoded in recursive logic (that should be a loop or a temporary array). I guess its just something to get used to with JSLT.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
