<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>btaz &#187; XML</title>
	<atom:link href="http://www.btaz.com/category/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.btaz.com</link>
	<description>Promoting the art of coding</description>
	<lastBuildDate>Fri, 16 Jul 2010 17:01:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Spring XML and defining end of line characters in a bean property</title>
		<link>http://www.btaz.com/java/spring-xml-and-defining-end-of-line-characters-in-a-bean-property/</link>
		<comments>http://www.btaz.com/java/spring-xml-and-defining-end-of-line-characters-in-a-bean-property/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 15:52:20 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=63</guid>
		<description><![CDATA[If you need to define and end of line character (EOL) like \n in your Spring XML files in a bean property you can&#8217;t do this
&#60;bean id="some-bean-id" class="some-class"&#62;
    &#60;property name="my-property-name" value="\n"/&#62;
&#60;/bean&#62;
This simply wont work. You&#8217;ll end up with a backslash followed by the letter n. What you have to do is to [...]


Related posts:<ol><li><a href='http://www.btaz.com/java/want-to-use-spring-3-0-milestone-release-from-maven/' rel='bookmark' title='Permanent Link: Want to use Spring 3.0 milestone release from Maven?'>Want to use Spring 3.0 milestone release from Maven?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you need to define and end of line character (EOL) like \n in your Spring XML files in a bean property you can&#8217;t do this</p>
<pre>&lt;bean id="some-bean-id" class="some-class"&gt;
    &lt;property name="my-property-name" value="\n"/&gt;
&lt;/bean&gt;</pre>
<p>This simply wont work. You&#8217;ll end up with a backslash followed by the letter n. What you have to do is to use an escape character like this</p>
<pre>&lt;bean id="some-bean-id"&gt;
    &lt;property name="my-property-name" value="&amp;#10;"/&gt;
&lt;/bean&gt;</pre>


<p>Related posts:<ol><li><a href='http://www.btaz.com/java/want-to-use-spring-3-0-milestone-release-from-maven/' rel='bookmark' title='Permanent Link: Want to use Spring 3.0 milestone release from Maven?'>Want to use Spring 3.0 milestone release from Maven?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/java/spring-xml-and-defining-end-of-line-characters-in-a-bean-property/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
