<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Jul 28, 2009, at 7:43 AM, Cyrille Berger wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Saturday 25 July 2009, Martin Renold wrote:<br>&gt; Does anyone think this is a bad idea?  Anyone got a different idea?<br> I don't think that having a tag decided the use of the next tag is a good XML <br> design (but then I am not an expert at XML...), I am not even sure we can <br> enforce that in a schema.</blockquote><div><br></div><div>Um... "eek!"</div><div><br></div><div>When phrased that way, it seems like a very un-XML approach to things.</div><div><br></div><div>It strikes me that the MIME fallback approach might be something to keep in mind. A simple container of multipart/mixed, then a list of possible alternatives in order of preference.</div><div><br></div><div>My guess of how that would translate in this case:</div><div><br></div><div>&lt;try&gt;</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">&nbsp;&nbsp; &nbsp;&lt;text name="rendered text" &gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;content&gt;some text&lt;/content&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span class="Apple-style-span" style="font-size: 12px; ">&nbsp;&nbsp; &nbsp;&lt;/text&gt;</span></div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: normal normal normal 12px/normal Helvetica; ">&nbsp;&nbsp; &nbsp;&lt;projection src="data/text_fallback.png" /&gt;</font></div><div>&lt;/try&gt;</div><div><br></div></div></body></html>