<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	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/"
		>
<channel>
	<title>Comments on: I&#8217;m Liking Scala&#8217;s XML Literals</title>
	<atom:link href="http://joeygibson.com/2009/09/24/im-liking-scalas-xml-literals/feed/" rel="self" type="application/rss+xml" />
	<link>http://joeygibson.com/2009/09/24/im-liking-scalas-xml-literals/</link>
	<description>Java, Clojure, Scala, Groovy, Ruby, Python, Lisp, Objective-C, OSX, politics, religion, Koine Greek, Tae Kwon Do, Spanish and much more!</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:22:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Rudi Angela</title>
		<link>http://joeygibson.com/2009/09/24/im-liking-scalas-xml-literals/comment-page-1/#comment-1502</link>
		<dc:creator>Rudi Angela</dc:creator>
		<pubDate>Wed, 09 Dec 2009 07:39:55 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1323#comment-1502</guid>
		<description>Yeah, pretty neat.... until you need to produce XML with several namespace prefixes.
I&#039;ve tried using this feature on a project, but ran into problems because all my XML contains prefixed elements.
There is no way to tell scala that the prefixes found in my XML literals belong to a certain namespace.
Perhaps I overlooked something. Tried finding any info online, but had no success.
Most of the real life XML applications I&#039;ve ever had to do with require using namespace prefixes. I do hope there is some way to do it with scala&#039;s XML literals because they are really neat.</description>
		<content:encoded><![CDATA[<p>Yeah, pretty neat&#8230;. until you need to produce XML with several namespace prefixes.<br />
I&#8217;ve tried using this feature on a project, but ran into problems because all my XML contains prefixed elements.<br />
There is no way to tell scala that the prefixes found in my XML literals belong to a certain namespace.<br />
Perhaps I overlooked something. Tried finding any info online, but had no success.<br />
Most of the real life XML applications I&#8217;ve ever had to do with require using namespace prefixes. I do hope there is some way to do it with scala&#8217;s XML literals because they are really neat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geert Van Damme</title>
		<link>http://joeygibson.com/2009/09/24/im-liking-scalas-xml-literals/comment-page-1/#comment-1080</link>
		<dc:creator>Geert Van Damme</dc:creator>
		<pubDate>Sat, 26 Sep 2009 08:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1323#comment-1080</guid>
		<description>You&#039;re right. It looks nice.
But posts like this always make me want to test the limits a bit:

scala&gt; val p = new Person(23, &quot;To&lt;m&quot;, &quot;Servo&quot;, &quot;Robot&quot;)
p: Person = 23, To val xml = p.toXML                               
xml: scala.xml.Elem = 

                   23
                   To&lt;m
                   Servo
                   Robot
               


Hmmm, test 1 is passed ;-)
&lt; is converted to &lt;</description>
		<content:encoded><![CDATA[<p>You&#8217;re right. It looks nice.<br />
But posts like this always make me want to test the limits a bit:</p>
<p>scala> val p = new Person(23, &#8220;To<m&#8221;, &#8220;Servo&#8221;, &#8220;Robot&#8221;)<br />
p: Person = 23, To val xml = p.toXML<br />
xml: scala.xml.Elem = </p>
<p>                   23<br />
                   To<m<br />
                   Servo<br />
                   Robot</p>
<p>Hmmm, test 1 is passed ;-)<br />
< is converted to <</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey Gibson</title>
		<link>http://joeygibson.com/2009/09/24/im-liking-scalas-xml-literals/comment-page-1/#comment-1075</link>
		<dc:creator>Joey Gibson</dc:creator>
		<pubDate>Thu, 24 Sep 2009 15:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1323#comment-1075</guid>
		<description>You&#039;re right, Dave, about having any Scala expression inside the curlies. I made a comment about that in the post, but I didn&#039;t show an example of it. You have a nice example in your post, especially the bit that looks like 

{list.map((item) =&gt; &lt;li&gt;{item}&lt;/li&gt;)} 

I really like that. :-)</description>
		<content:encoded><![CDATA[<p>You&#8217;re right, Dave, about having any Scala expression inside the curlies. I made a comment about that in the post, but I didn&#8217;t show an example of it. You have a nice example in your post, especially the bit that looks like </p>
<p>{list.map((item) => &lt;li>{item}&lt;/li>)} </p>
<p>I really like that. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Copeland</title>
		<link>http://joeygibson.com/2009/09/24/im-liking-scalas-xml-literals/comment-page-1/#comment-1073</link>
		<dc:creator>Dave Copeland</dc:creator>
		<pubDate>Thu, 24 Sep 2009 14:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://joeygibson.com/?p=1323#comment-1073</guid>
		<description>Given that XML is a fact of life, I do dig this feature.  You can make it even more dynamic by putting any Scala expression inside the curly braces, including the generation of further XML:

&lt;a href=&quot;http://www.naildrivin5.com/scalatour/wiki_pages/XmlLiterals#Making_it_more_dynamic&quot; rel=&quot;nofollow&quot;&gt;http://www.naildrivin5.com/scalatour/wiki_pages/XmlLiterals#Making_it_more_dynamic&lt;/a&gt;

What I REALLY wish for is a way to parse/match XML via CSS selectors.  I *HATE* the xpath-ish stuff with a passion.</description>
		<content:encoded><![CDATA[<p>Given that XML is a fact of life, I do dig this feature.  You can make it even more dynamic by putting any Scala expression inside the curly braces, including the generation of further XML:</p>
<p><a href="http://www.naildrivin5.com/scalatour/wiki_pages/XmlLiterals#Making_it_more_dynamic" rel="nofollow">http://www.naildrivin5.com/scalatour/wiki_pages/XmlLiterals#Making_it_more_dynamic</a></p>
<p>What I REALLY wish for is a way to parse/match XML via CSS selectors.  I *HATE* the xpath-ish stuff with a passion.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

