Having issues with spacing when parsing XHTML

I was wondering if anyone has run into spacing issues when parsing in data that is wrapped in a table tag. This is my first time parsing in xhtml so I’m probably overlooking some important details that should be in my code. anyhow, I’m able to get to the information i need, but displaying it correctly in flash is the issue. here’s an example of what I mean:

HTML Page:

Code:

<div class="movieContent" id="dataContainer">
	<h2>Movie Data</h2>
	<table>
		<tr><td class="line">Sherlock Holmes</td><td>$62 million</td></tr>
		<tr><td>Avatar</td><td>$212 million</td></tr>
		<tr><td>The Blind Side</td><td>$150 million</td></tr>
	</table>
</div>

so when I access this info using

ActionScript Code:

tempXML.body.div.( hasOwnProperty( "@class" ) && @[ "class" ] == "movieContent" ).table

it will display like this:

Sherlock Holmes
$62 million

Avatar
$212 million

The Blind Side
$150 million

my question is how do i get it to display something like this:

Sherlock Holmes $62 million

Avatar $212 million

The Blind Side $150 million

the name and the money made is on one line. Any advice about this would be really appreciated. Thanks in advance.