<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for lablog</title>
	
	<link>http://blog.typlab.com</link>
	<description>typLAB Blog</description>
	<lastBuildDate>Sun, 28 Feb 2010 16:00:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/typlab/comments" /><feedburner:info uri="typlab/comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Reinventing XSLT in pure Javascript by veged</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/2Jwf8sR63MY/</link>
		<dc:creator>veged</dc:creator>
		<pubDate>Sun, 28 Feb 2010 16:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=188#comment-231</guid>
		<description>and one more typo:
var toc = mkElem(“ul”)(seq(deep(seq(isHeader, mkElem(“li”))(self)))); -- first `seq’ has only one arg, and look like unnecessary</description>
		<content:encoded><![CDATA[<p>and one more typo:<br />
var toc = mkElem(“ul”)(seq(deep(seq(isHeader, mkElem(“li”))(self)))); &#8212; first `seq’ has only one arg, and look like unnecessary</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/2Jwf8sR63MY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/12/reinventing-xslt-in-pure-javascript/comment-page-1/#comment-231</feedburner:origLink></item>
	<item>
		<title>Comment on Reinventing XSLT in pure Javascript by veged</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/vxqYQL_IB54/</link>
		<dc:creator>veged</dc:creator>
		<pubDate>Thu, 25 Feb 2010 20:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=188#comment-228</guid>
		<description>thanks for good post!
waiting commits at http://github.com/typLAB ;-)</description>
		<content:encoded><![CDATA[<p>thanks for good post!<br />
waiting commits at <a href="http://github.com/typLAB" rel="nofollow">http://github.com/typLAB</a> ;-)</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/vxqYQL_IB54" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/12/reinventing-xslt-in-pure-javascript/comment-page-1/#comment-228</feedburner:origLink></item>
	<item>
		<title>Comment on Testing Javascript by Erik</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/Ign58lxLZ5A/</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 25 Feb 2010 15:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=391#comment-227</guid>
		<description>@Darrin: Thanks for writing qc.js! Everything works at the moment, so we don't need anything. We might want to build shrinking like QuickCheck in Haskell has in the future.

@Paul: Sure, here it is. I hope it's useful to you.

&lt;pre&gt;&lt;code type="javascript"&gt;
  function quickcheck (args, test, config)
  {
    if (!config) config = new Config(100, 1000);
    var p = new Prop("", args, test);
    var res = runProp(config, p);
    var passed = res.status === "pass";
    var msg = res.status
    if (res.status === "fail") msg += " on " + QUnit.jsDump.parse(res.failedCase);
    msg += " (" + res.counts.pass + " passed, " + res.counts.invalid + " invalid)";
    ok(passed, msg);
  }
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Darrin: Thanks for writing qc.js! Everything works at the moment, so we don&#8217;t need anything. We might want to build shrinking like QuickCheck in Haskell has in the future.</p>
<p>@Paul: Sure, here it is. I hope it&#8217;s useful to you.</p>
<pre>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; function quickcheck (args, test, config)<br />
&nbsp; {<br />
&nbsp; &nbsp; if (!config) config = new Config(100, 1000);<br />
&nbsp; &nbsp; var p = new Prop(&quot;&quot;, args, test);<br />
&nbsp; &nbsp; var res = runProp(config, p);<br />
&nbsp; &nbsp; var passed = res.status === &quot;pass&quot;;<br />
&nbsp; &nbsp; var msg = res.status<br />
&nbsp; &nbsp; if (res.status === &quot;fail&quot;) msg += &quot; on &quot; + QUnit.jsDump.parse(res.failedCase);<br />
&nbsp; &nbsp; msg += &quot; (&quot; + res.counts.pass + &quot; passed, &quot; + res.counts.invalid + &quot; invalid)&quot;;<br />
&nbsp; &nbsp; ok(passed, msg);<br />
&nbsp; }</div></div>
</pre>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/Ign58lxLZ5A" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2010/02/testing-javascript/comment-page-1/#comment-227</feedburner:origLink></item>
	<item>
		<title>Comment on Testing Javascript by Paul Irish</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/yCPpemuAaKc/</link>
		<dc:creator>Paul Irish</dc:creator>
		<pubDate>Thu, 25 Feb 2010 15:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=391#comment-226</guid>
		<description>Can you share the qunit/quickcheck wrapper code?

Thanks</description>
		<content:encoded><![CDATA[<p>Can you share the qunit/quickcheck wrapper code?</p>
<p>Thanks</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/yCPpemuAaKc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2010/02/testing-javascript/comment-page-1/#comment-226</feedburner:origLink></item>
	<item>
		<title>Comment on Mutation Events: What Happen? by Will</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/LIxbvLiyB5g/</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Wed, 24 Feb 2010 05:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=120#comment-225</guid>
		<description>Great code though, the extension of HTMLElement is neat trick.</description>
		<content:encoded><![CDATA[<p>Great code though, the extension of HTMLElement is neat trick.</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/LIxbvLiyB5g" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/10/mutation-events-what-happen/comment-page-1/#comment-225</feedburner:origLink></item>
	<item>
		<title>Comment on Mutation Events: What Happen? by Will</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/fBMlr3nQRi8/</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Wed, 24 Feb 2010 04:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=120#comment-224</guid>
		<description>Unfortunately, jQuery uses the elem[attr] = value method of attribute assignment which bypasses this workaround.</description>
		<content:encoded><![CDATA[<p>Unfortunately, jQuery uses the elem[attr] = value method of attribute assignment which bypasses this workaround.</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/fBMlr3nQRi8" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/10/mutation-events-what-happen/comment-page-1/#comment-224</feedburner:origLink></item>
	<item>
		<title>Comment on Reinventing XSLT in pure Javascript by Sebas</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/r1Sw5ENJnLw/</link>
		<dc:creator>Sebas</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=188#comment-221</guid>
		<description>Hello veged.

Very sharp, this is indeed a typo! Thanks for this notification. In this example the `deep' combinator can only take one argument. 

Another way to write it down is to put an additional seq inside the `deep':
var toc = mkElem(“ul”)(seq(deep(seq(isHeader, mkElem(“li”))(self))));</description>
		<content:encoded><![CDATA[<p>Hello veged.</p>
<p>Very sharp, this is indeed a typo! Thanks for this notification. In this example the `deep&#8217; combinator can only take one argument. </p>
<p>Another way to write it down is to put an additional seq inside the `deep&#8217;:<br />
var toc = mkElem(“ul”)(seq(deep(seq(isHeader, mkElem(“li”))(self))));</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/r1Sw5ENJnLw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/12/reinventing-xslt-in-pure-javascript/comment-page-1/#comment-221</feedburner:origLink></item>
	<item>
		<title>Comment on Testing Javascript by Darrin Thompson</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/25_VCpZtMNg/</link>
		<dc:creator>Darrin Thompson</dc:creator>
		<pubDate>Tue, 23 Feb 2010 14:26:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=391#comment-220</guid>
		<description>Thanks for publishing your use of qc.js. If I can help you in any way please let me know.</description>
		<content:encoded><![CDATA[<p>Thanks for publishing your use of qc.js. If I can help you in any way please let me know.</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/25_VCpZtMNg" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2010/02/testing-javascript/comment-page-1/#comment-220</feedburner:origLink></item>
	<item>
		<title>Comment on Reinventing XSLT in pure Javascript by veged</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/Zv198Rcj9NM/</link>
		<dc:creator>veged</dc:creator>
		<pubDate>Thu, 18 Feb 2010 09:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=188#comment-214</guid>
		<description>Perhaps here is typo
  var toc = mkElem("ul")(seq(deep(isHeader, mkElem("li")(self))));

seems to be
  var toc = mkElem("ul")(seq(deep(isHeader), mkElem("li")(self)));</description>
		<content:encoded><![CDATA[<p>Perhaps here is typo<br />
  var toc = mkElem(&#8220;ul&#8221;)(seq(deep(isHeader, mkElem(&#8220;li&#8221;)(self))));</p>
<p>seems to be<br />
  var toc = mkElem(&#8220;ul&#8221;)(seq(deep(isHeader), mkElem(&#8220;li&#8221;)(self)));</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/Zv198Rcj9NM" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/12/reinventing-xslt-in-pure-javascript/comment-page-1/#comment-214</feedburner:origLink></item>
	<item>
		<title>Comment on Why we use Haskell by Aleksandr Vinokurov</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/6AcM9aeCoVc/</link>
		<dc:creator>Aleksandr Vinokurov</dc:creator>
		<pubDate>Wed, 30 Dec 2009 19:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=68#comment-111</guid>
		<description>iAloha! It's really nice to read such motivating essays about functional programming, so rare to be used for commercial development today. Thank you.</description>
		<content:encoded><![CDATA[<p>iAloha! It&#8217;s really nice to read such motivating essays about functional programming, so rare to be used for commercial development today. Thank you.</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/6AcM9aeCoVc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/09/why-we-use-haskell/comment-page-1/#comment-111</feedburner:origLink></item>
	<item>
		<title>Comment on Writing a generic XML pickler by Dimi4lv</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/FHlVSIKjW5A/</link>
		<dc:creator>Dimi4lv</dc:creator>
		<pubDate>Fri, 25 Dec 2009 11:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-109</guid>
		<description>I want to quote your post in my blog. It can?
And you et an account on Twitter?</description>
		<content:encoded><![CDATA[<p>I want to quote your post in my blog. It can?<br />
And you et an account on Twitter?</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/FHlVSIKjW5A" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-109</feedburner:origLink></item>
	<item>
		<title>Comment on Reinventing XSLT in pure Javascript by Sebas</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/4z6XUFvuFjI/</link>
		<dc:creator>Sebas</dc:creator>
		<pubDate>Mon, 21 Dec 2009 09:36:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=188#comment-97</guid>
		<description>Michael Kay wrote: "It seems to me that all you have done is to strip off the syntactic sugar offered by the XPath syntax and expose the underlying functional semantics."

Yes, this is exactly what we have done! Because the underlying semantics are very clean rebuilding it was very easy. These combinators for themselves have no big advantage over XPath of course, but now that we have our own implementation in JavaScript extending (in multiple dimensions) becomes very easy. 

The reason for this post was showing other programmers that looking at the semantics of an existing system can change it from some black box magic into something simple and understandable. There was never an intention to present something that on itself could ever supersede XPath/XSLT.

Thanks for keeping XSLT functional!</description>
		<content:encoded><![CDATA[<p>Michael Kay wrote: &#8220;It seems to me that all you have done is to strip off the syntactic sugar offered by the XPath syntax and expose the underlying functional semantics.&#8221;</p>
<p>Yes, this is exactly what we have done! Because the underlying semantics are very clean rebuilding it was very easy. These combinators for themselves have no big advantage over XPath of course, but now that we have our own implementation in JavaScript extending (in multiple dimensions) becomes very easy. </p>
<p>The reason for this post was showing other programmers that looking at the semantics of an existing system can change it from some black box magic into something simple and understandable. There was never an intention to present something that on itself could ever supersede XPath/XSLT.</p>
<p>Thanks for keeping XSLT functional!</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/4z6XUFvuFjI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/12/reinventing-xslt-in-pure-javascript/comment-page-1/#comment-97</feedburner:origLink></item>
	<item>
		<title>Comment on Reinventing XSLT in pure Javascript by Michael Kay</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/4r5Xqa5bUTM/</link>
		<dc:creator>Michael Kay</dc:creator>
		<pubDate>Sun, 20 Dec 2009 23:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=188#comment-95</guid>
		<description>"This enables us to incrementally rebuild the output of a transformation when only small parts of the input document change." 

This of course was always one of the major justifications for making XSLT/XPath a functional language.

It seems to me that all you have done is to strip off the syntactic sugar offered by the XPath syntax and expose the underlying functional semantics.</description>
		<content:encoded><![CDATA[<p>&#8220;This enables us to incrementally rebuild the output of a transformation when only small parts of the input document change.&#8221; </p>
<p>This of course was always one of the major justifications for making XSLT/XPath a functional language.</p>
<p>It seems to me that all you have done is to strip off the syntactic sugar offered by the XPath syntax and expose the underlying functional semantics.</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/4r5Xqa5bUTM" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/12/reinventing-xslt-in-pure-javascript/comment-page-1/#comment-95</feedburner:origLink></item>
	<item>
		<title>Comment on Reinventing XSLT in pure Javascript by Fabrice</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/29fTe0Wg_xY/</link>
		<dc:creator>Fabrice</dc:creator>
		<pubDate>Mon, 14 Dec 2009 10:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=188#comment-88</guid>
		<description>I fail to see how replacing /p[@href]/em by seq(seq(isElem("p"), hasAttr("href"))
, seq(getChildren, isElem("em"))) can be seen as simple or elegant...</description>
		<content:encoded><![CDATA[<p>I fail to see how replacing /p[@href]/em by seq(seq(isElem(&#8220;p&#8221;), hasAttr(&#8220;href&#8221;))<br />
, seq(getChildren, isElem(&#8220;em&#8221;))) can be seen as simple or elegant&#8230;</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/29fTe0Wg_xY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/12/reinventing-xslt-in-pure-javascript/comment-page-1/#comment-88</feedburner:origLink></item>
	<item>
		<title>Comment on Reinventing XSLT in pure Javascript by Martijn</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/cq-U7SBSnz4/</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Mon, 14 Dec 2009 10:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=188#comment-87</guid>
		<description>Nice! I especially like the type of seq.</description>
		<content:encoded><![CDATA[<p>Nice! I especially like the type of seq.</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/cq-U7SBSnz4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/12/reinventing-xslt-in-pure-javascript/comment-page-1/#comment-87</feedburner:origLink></item>
	<item>
		<title>Comment on Writing a generic XML pickler by Erik</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/lYOPG22lRCw/</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Mon, 16 Nov 2009 19:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-75</guid>
		<description>I've found that TH is not an ideal way to write generic functions. The syntax is not very nice, and the errors can be strange, since you can't normally see the code.  Writing generic functions (like the regular-xmlpickler) in regular is, in my opinion, much nicer than writing TH code. You're closer to the actual meaning, and you are writing real Haskell functions instead of meta-functions. You need a few extensions, most notably Type Families, but they are not that hard to understand.

Note that you hardly have to write any code to &lt;em&gt;use&lt;/em&gt; regular: the instances can be derived using TH (!).</description>
		<content:encoded><![CDATA[<p>I&#8217;ve found that TH is not an ideal way to write generic functions. The syntax is not very nice, and the errors can be strange, since you can&#8217;t normally see the code.  Writing generic functions (like the regular-xmlpickler) in regular is, in my opinion, much nicer than writing TH code. You&#8217;re closer to the actual meaning, and you are writing real Haskell functions instead of meta-functions. You need a few extensions, most notably Type Families, but they are not that hard to understand.</p>
<p>Note that you hardly have to write any code to <em>use</em> regular: the instances can be derived using TH (!).</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/lYOPG22lRCw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-75</feedburner:origLink></item>
	<item>
		<title>Comment on Writing a generic XML pickler by Max</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/Dldwdvvq7yM/</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Mon, 16 Nov 2009 09:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-74</guid>
		<description>What's the advantage of using regular + generics over writing TH macro's to create the xmlpickler instances? I've done the latter, and while your code seems a bit shorter, writing all my datatypes using regular seems like a big big headache.

Max</description>
		<content:encoded><![CDATA[<p>What&#8217;s the advantage of using regular + generics over writing TH macro&#8217;s to create the xmlpickler instances? I&#8217;ve done the latter, and while your code seems a bit shorter, writing all my datatypes using regular seems like a big big headache.</p>
<p>Max</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/Dldwdvvq7yM" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-74</feedburner:origLink></item>
	<item>
		<title>Comment on How I Learned to Stop Worrying and Love Web Development Again by Martijn</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/Ioof56nVcwU/</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Tue, 10 Nov 2009 22:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=152#comment-73</guid>
		<description>Schrijft Rahul om 19:42. *zucht*</description>
		<content:encoded><![CDATA[<p>Schrijft Rahul om 19:42. *zucht*</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/Ioof56nVcwU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/10/love-web-development-again/comment-page-1/#comment-73</feedburner:origLink></item>
	<item>
		<title>Comment on Writing a generic XML pickler by Erik</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/LdZPmH9IPYM/</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Tue, 10 Nov 2009 12:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-72</guid>
		<description>As described, it has tags for constructors and record labels. So for the user type, it would look like this:

&lt;pre&gt;&lt;code lang="xml"&gt;
&lt;user&gt;
  &lt;name&gt;Erik&lt;/name&gt;
  &lt;email&gt;erik@typlab.com&lt;/email&gt;
  &lt;admin&gt;true&lt;/admin&gt;
&lt;/user&gt;
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>As described, it has tags for constructors and record labels. So for the user type, it would look like this:</p>
<pre>
<div class="codecolorer-container xml mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;user<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Erik<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/name<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;email<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>erik@typlab.com<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/email<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;admin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>true<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/admin<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/user<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
</pre>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/LdZPmH9IPYM" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-72</feedburner:origLink></item>
	<item>
		<title>Comment on Writing a generic XML pickler by Chris</title>
		<link>http://feedproxy.google.com/~r/typlab/comments/~3/bQOHHOLnKJs/</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 10 Nov 2009 11:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=102#comment-71</guid>
		<description>Cool! What does the generated XML look like?</description>
		<content:encoded><![CDATA[<p>Cool! What does the generated XML look like?</p>
<img src="http://feeds.feedburner.com/~r/typlab/comments/~4/bQOHHOLnKJs" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.typlab.com/2009/11/writing-a-generic-xml-pickler/comment-page-1/#comment-71</feedburner:origLink></item>
</channel>
</rss>
