|i have an xml document that is structured like this:|
<description><![CDATA[<p>This is a test project description with two paragraphs</p><p>this is the second paragraph</p> ]]></description>
<info>this is a field for extra information, about the clients, the size, price, etc...</info>
<image name="test.porch.jpg" title="this is image 1." />
<image name="test.firstfloor.jpg" title="this is image 2." />
<image name="test.firstfloor2.jpg" title="this is image 2." />
and i want to parse it with domit, and be able to output any of the items, sorted by various values, and then output those values in a smarty template... will that work, or should i go with xsl instead?