Teie kommentaarid

Here is a simple example with 3 text boxes. On the conduit I only see the top and bottom ones.


<wire>
<datasources>

<!-- datasources go here -->

</datasources>

<styles>

<style name="textbox" width="300" height="100" borderwidth="3" bordercolor="#ff0000" background="#7f7f7f" leftinset="20" />

</styles>

<classes>

<!-- classes go here -->

</classes>

<main>

<panel name="body" width="100%" height="100%">
<text name="block1" style="textbox" text="top text box" />
<text name="block2" style="textbox" valign="center" height="fit" text="middle text box" />
<text name="block3" style="textbox" valign="bottom" text="bottom text box" />
</panel>

</main>

<actions>

<!-- actions go here -->

</actions>
</wire>
Sorry about that, did not realize there were html formatting options available.

Here is an example of what I mean:



<datasource name="feedgrp" providertype="xml" query="//item[position() < last() - 1 and position() > 3]" source="http://feeds.arstechnica.com/arstechnica/askars?format=xml" />


Either the less than or greater than operator (or both, not sure which it is) cause an error in the conduit when the above is used in the wire. So I found it needs to be written as follows:



<datasource name="feedgrp" providertype="xml" query="//item[position() &lt; last() - 1 and position() &gt; 3]" source="http://feeds.arstechnica.com/arstechnica/askars?format=xml" />
No, my report was actually about using the less than and greater than symbols - which must have been filtered out of my post by your support software.

As far as I can see you have to use the html representations of the greater and less than symbols in xpath syntax.