<?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>c-dev &#187; XML</title>
	<atom:link href="http://www.c-dev.ch/blog/tag/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.c-dev.ch/blog</link>
	<description>fresh looking</description>
	<lastBuildDate>Wed, 08 Sep 2010 19:53:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Leerzeichen / Space ausgeben</title>
		<link>http://www.c-dev.ch/blog/2007/09/12/leerzeichen-space-ausgeben/</link>
		<comments>http://www.c-dev.ch/blog/2007/09/12/leerzeichen-space-ausgeben/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 07:13:48 +0000</pubDate>
		<dc:creator>fresh</dc:creator>
				<category><![CDATA[XML & XSL]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.c-dev.ch/blog/2007/09/12/leerzeichen-space-ausgeben/</guid>
		<description><![CDATA[Any whitespace you're putting in there is getting trimmed since the stylesheet doesn't see its own whitespace-only text nodes as significant. (The earlier text node ', ' isn't getting trimmed since it's not whitespace-only.) The solution is to say &#60;xsl:text&#62; &#60;/xsl:text&#62; or if you like, &#60;xsl:value-of select=" "/&#62; should get you the same thing. Note [...]]]></description>
			<content:encoded><![CDATA[<pre><tt>Any whitespace you're putting in there is getting trimmed since the
stylesheet doesn't see its own whitespace-only text nodes as significant.
(The earlier text node ', ' isn't getting trimmed since it's not
whitespace-only.)</tt>

The solution is to say
&lt;xsl:text&gt; &lt;/xsl:text&gt;

or if you like,
&lt;xsl:value-of select=" "/&gt;

<tt>should get you the same thing. Note this is a space, not a non-breaking
space, which would be another way to go -- just use   (no &lt;xsl:text&gt;
necessary in that case since it's not "whitespace only" -- the non-breaking
space character isn't considerd "whitespace" for these purposes.)</tt></pre>
<pre></pre>
<pre><strong>Another Hints</strong></pre>
<pre>You can use an &lt;xsl:text&gt; element to introduce a (real) space character:

&lt;xsl:value-of select="../HEADER/FROM/STATE"/&gt;
&lt;xsl:text&gt; &lt;/xsl:text&gt;
&lt;xsl:value-of select="../HEADER/FROM/ZIP1"/&gt;

or

&lt;xsl:value-of select="../HEADER/FROM/STATE"
/&gt; &lt;xsl:value-of select="../HEADER/FROM/ZIP1"/&gt;

or you can insert a non-breaking space character (  in HTML) if that is
more appropriate:

&lt;xsl:value-of select="../HEADER/FROM/STATE"
/&gt; &lt;xsl:value-of select="../HEADER/FROM/ZIP1"/&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.c-dev.ch/blog/2007/09/12/leerzeichen-space-ausgeben/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
	</channel>
</rss>
