<div>The xwd files with the _XOT addition are not just for Xerte Online Toolkits, they are also for use in projects that are of the Page Templates type (they use an rlt rather than an rlo file).<br></div><div><br></div><div>
The _XOT xwds use the pagelist control as a full list of pages in the project can be derived from the single project xml file. This information is not available for desktop Xerte projects that use an .rlo file so they have to resort to the original approach of the user defining a page ID for each page that they want to connect to, and then using that page ID when specifying the connection in the connector pages form.</div>
<div><br></div><div>The automatic xwd builder i.e. the script that builds template.xwd (or data.xwd) should only build a single xwd file that uses the version of the xwds that are appropriate to XOt / page templates projects. Where there are two versions of the xwd file e.g. cMcq.xwd and cMcq_XOT.xwd the builder script should be able to identify which files to exclude by the existence of an attribute in the top level <wizard > tag</div>
<div><br></div><div>desktop Xerte only xwds contain</div><div><wizard restrict="develop" ></div><div><br></div><div>XOT / page templates only xwds contain</div><div><wizard restrict="template" ></div>
<div><br></div><div>I hope this clears things up.</div><div><br></div><div>Kind regards</div><div><br></div><div>Johnathan</div><br><div class="gmail_quote">On 5 April 2013 14:38, Fay Cross <span dir="ltr"><<a href="mailto:Fay.Cross@nottingham.ac.uk" target="_blank">Fay.Cross@nottingham.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal">Hello</p><p class="MsoNormal"> </p><p class="MsoNormal">
I’ve just finished converting the connector pages to HTML5 and a few issues have come up with the xwds. The connector pages are supposed to give different options in the wizard depending on whether you’re using desktop or xot. In the xerte svn there are two xwds for each connector page (e.g. cMcq.xwd and cMcq_XOT.xwd) reflecting these differences. When you build template.xwd it uses the desktop versions (e.g. cMcq.xwd) but this is the file that’s then copied over to the toolkits svn when any xwd changes are made.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">So, is it possible to have the automatic xwd builder create two xwds? One that works as it does now and the other that uses files ending in _XOT if there is one (this one is the one to copy over to the toolkits svn). Or are the differences between the two versions of xwds for connectors actually important? Am I just getting extra options in xot that don’t do anything or am I missing out on important options too? Is it likely to cause confusion if it’s left as it is?</p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal"> </p><p class="MsoNormal">Fay</p></font></span></div>
<br><br>
<br></div><br>_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br></blockquote></div><br>