<div dir="ltr">+1 </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 20, 2013 at 3:38 PM, Steve Gordon <span dir="ltr"><<a href="mailto:sgordon@redhat.com" target="_blank">sgordon@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">----- Original Message -----<br>
> From: "Andreas Jaeger" <<a href="mailto:aj@suse.com">aj@suse.com</a>><br>
> To: <a href="mailto:openstack-docs@lists.openstack.org">openstack-docs@lists.openstack.org</a><br>
> Sent: Friday, September 20, 2013 2:44:39 PM<br>
> Subject: [Openstack-docs] Checking imagedata attributes?<br>
><br>
><br>
> During the review of my patch for checking imagedata in our tools, Anne<br>
> asked the following question:<br>
> "One possible addition is to ensure that format="PNG" contentwidth="6in"<br>
> width="6in" are included as attributes on the imagedata element. Not a<br>
> requirement but is it possible to check for attributes?"<br>
><br>
> I've done a quick implementation of this - and now need some help for<br>
> what exactly to check:<br>
> 1) existence of format attribute?<br>
> 2) existence of contentwidth attribute?<br>
> 3) existence of width attribute?<br>
> 4) existence and value (which?) of format attribute?<br>
> 5) existence and value (which?) of contentwidth attribute?<br>
> 6) existence and value (which?) of width attribute?<br>
><br>
> Just a random example from our tree:<br>
> <imagedata fileref="figures/demo_multiple_dhcp_agents.png"<br>
> contentwidth="6in"/><br>
> is the above fine - or not? Why?<br>
><br>
> My current patch is at:<br>
> <a href="https://review.openstack.org/47619" target="_blank">https://review.openstack.org/47619</a><br>
<br>
</div>I've actually been wondering if these shouldn't just be injected/enforced by the XSL rather than authors having to enter them each time they add an image.<br>
<br>
Thanks,<br>
<br>
Steve<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Openstack-docs mailing list<br>
<a href="mailto:Openstack-docs@lists.openstack.org">Openstack-docs@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Thank you!<div><br></div><div>Nermina Miller</div><div>Tech Writer and Editor</div></div>
</div>