<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[KillerSites.com Web Design Forums - making a line break in an xml catalog]]></title>
	<link rel="self" href="http://www.killersites.com/forums/feed/atom/topic/2251/"/>
	<updated>2009-10-04T18:36:07Z</updated>
	<generator>PunBB</generator>
	<id>http://www.killersites.com/forums/topic/2251/making-a-line-break-in-an-xml-catalog/</id>
		<entry>
			<title type="html"><![CDATA[making a line break in an xml catalog]]></title>
			<link rel="alternate" href="http://www.killersites.com/forums/post/11193/#p11193"/>
			<content type="html"><![CDATA[<p>So I&#039;m all finished Jon&#039;s tutorial on making a php shopping cart, and am now in the process of customizing the shopping cart system to fit the catalog of certain business I am helping a friend with.</p><p>My problem is that the xml catalog seems to only display horizontally across the page, but I need to make a line break, or else the items will look crammed together. </p><p>Does anyone here know what tag to use to make a line break?&nbsp; I tried both &lt;br&gt; and &lt;br /&gt;, but neither work.&nbsp; &nbsp;I did some google searches, and some others have asked this same question, but the suggestions people are making (something about /n) are not working for me.</p><p>Thanks!</p><p>- Cory</p><br /><p>PS: here is what the code looks like that I want to break up into separate lines.</p><div class="codebox"><pre><code>&lt;items&gt;
&lt;product&gt;
&lt;id&gt;Dried Tomatoes&lt;/id&gt;
&lt;title&gt;Tomatoes&lt;/title&gt;
&lt;description&gt;blah test alpha beta carrot&lt;/description&gt;
&lt;price&gt;2.00&lt;/price&gt;
&lt;/product&gt;

&lt;product&gt;
&lt;id&gt;Dried Apples&lt;/id&gt;
&lt;title&gt;Apples&lt;/title&gt;
&lt;description&gt;blah test alpha beta carrot&lt;/description&gt;
&lt;price&gt;2.00&lt;/price&gt;
&lt;/product&gt;


&lt;product&gt;
&lt;id&gt;Mango&lt;/id&gt;
&lt;title&gt;Mango&lt;/title&gt;
&lt;description&gt;blah test alpha beta carrot&lt;/description&gt;
&lt;price&gt;2.00&lt;/price&gt;
&lt;/product&gt;

&lt;product&gt;
&lt;id&gt;Orange&lt;/id&gt;
&lt;title&gt;Orange&lt;/title&gt;
&lt;description&gt;blah test alpha beta carrot&lt;/description&gt;
&lt;price&gt;2.00&lt;/price&gt;
&lt;/product&gt;

&lt;product&gt;
&lt;id&gt;Orange&lt;/id&gt;
&lt;title&gt;Orange&lt;/title&gt;
&lt;description&gt;blah test alpha beta&lt;/description&gt;
&lt;price&gt;2.00&lt;/price&gt;
&lt;/product&gt;

&lt;/items&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Cory Duchesne]]></name>
				<uri>http://www.killersites.com/forums/user/7752/</uri>
			</author>
			<updated>2009-10-04T18:36:07Z</updated>
			<id>http://www.killersites.com/forums/post/11193/#p11193</id>
		</entry>
</feed>
