Based on the input from a blog post about xml output from Dynamicweb we've made a change to the output of paragraph setup templates xml.
The blopost can be read here:
http://www.saucer.dk/2010/10/dynamicwebs-xml-for-paragraphsetup-and-how-i-would-change-it/
**** The reply ****
Thanks for "bitching" in public - If you did not speak up we would not be able to improve...
We've looked at your suggestions and have built something in Dynamicweb for paragraph setup templates that should meet your whishes.
Medias are now available in a loop as well in the existing way. So when using a xslt template a loop looking like this is available:
<loop name="Media">
<item>
<Media><![CDATA[<a href="Default.aspx?ID=126"><img src="Files/Billeder/AutumnLeavesSmall.jpg" border="0" alt="" width="300" height="225" class="paragraphsetupimage" /></a>]]></Media>
<MediaClean>Files/Billeder/AutumnLeavesSmall.jpg</MediaClean>
<Link>Default.aspx?ID=126</Link>
</item>
</loop>
Looping the paragraphs is not an option due to the existsing architecture, but tags have been extended to have a type attribute:
<TemplateLink5></TemplateLink5>
<TemplateParagraphHeader1 Type="Header">More on Dynamicweb 2</TemplateParagraphHeader1>
<TemplateParagraph1 Type="Text">
<![CDATA[<h1>Dynamicweb</h1>]]>
</TemplateParagraph1>
<TemplateParagraphColumn1 Type="Column">
<![CDATA[<h1>Dynamicweb</h1>]]>
</TemplateParagraphColumn1>
Let me hear your comments on this - it can be ready for 7.2 out soon.