<div dir="ltr">On Wed, Sep 4, 2013 at 4:52 AM, R. Mattes <span dir="ltr"><<a href="mailto:rm@mh-freiburg.de" target="_blank">rm@mh-freiburg.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

@developers: (ab)using  one tag for both definition and inclusion<br>
of a menu seems like a major design flaw. Something like<br>
<include-menu id=".."/>  would have been much clearer ...<br></blockquote><div><br></div><div>This is a really good point, I wish I'd thought that through originally. I'd support adding a new xml tag to replace the old one, as you suggest. The old one could continue to work, but we could use the new one in documentation and examples going forward.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  Sidenote: of course, this is all reinvent-the-wheel-this-time-square.<br>
  XML does have an in-build mechanism to do the same - it's called XInclude.<br>
<br>
  <xi:include href="b.xml/menu[@id='my-menu']"/><br>
<br>
<br>
Ok, the one part that's missing: if you put you menu into a separate<br>
file, you need to tell OB to read this file - that's what the<br>
<br>
     <file>/path/to/my/menu.xml</file><br>
<br>
in rc.xml is for.<br>
<br>
HTH Ralf Mattes<br>
<br>
--<br>
R. Mattes -<br>
Hochschule fuer Musik Freiburg<br>
<a href="mailto:rm@inm.mh-freiburg.de">rm@inm.mh-freiburg.de</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</div></div></blockquote></div><br></div></div>