If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Problem with XML parsing and jQuery Random Script

I am trying to grab some content from an XML file, have it appended to a div, and have that content displayed randomly. Everything seems to work when I have the content I wanted randomized put inside the div container and not in the xml file, but when I put the content I want randomized in the xml file, then have it parsed and appended to the primary div container, the primary div container has display: none put on it, thus nothing is shown, and the content does not seemed to be getting randomly shown according to what I see with Firebug.

My code is below. Any help is greatly appreciated.

Thanks

The XML

Code:

<?xml version="1.0" encoding="utf-8"?>
<quotes>
<quote>
<quotetext>We've been relying on Jack and the ScriptsConnect team for years for those situations when we need professional help. They come quickly. The problem is resolved. We are back in business. What more could you ask for?</quotetext>
<quoteauthor>Russ Polansky</quoteauthor>
<quoteauthorposition>Associate Publisher</quoteauthorposition>
<quotecompany>Test Company</quotecompany>
</quote>
<quote>
<quotetext>An easy to work with, technology advanced team, that is willing to tackle any computer problem.</quotetext>
<quoteauthor>Scott Mitchells</quoteauthor>
<quoteauthorposition>President</quoteauthorposition>
<quotecompany>Test Company</quotecompany>
</quote>
<quote>
<quotetext>CoreTechs has been working with us in database development for many years and we're extremely happy with their service and responsiveness.</quotetext>
<quoteauthor>Jan Dachemka</quoteauthor>
<quoteauthorposition>President</quoteauthorposition>
<quotecompany>Test Company</quotecompany>
</quote>
<quote>
<quotetext>Lorem ipsum dolor sit abend se dolum.</quotetext>
<quoteauthor>Jan Dvorak</quoteauthor>
<quoteauthorposition>President</quoteauthorposition>
<quotecompany>Test Company</quotecompany>
</quote>
<quote>
<quotetext>An easy to work with, technology advanced team, that is willing to tackle any computer problem.</quotetext>
<quoteauthor>John Williams</quoteauthor>
<quoteauthorposition>President</quoteauthorposition>
<quotecompany>Test Company</quotecompany>
</quote>
</quotes>