<div>Hi all, hi Andrew,</div><div><br></div><div>in a previous email where I asked about adding metadata to a corpus using CQPWeb (when I meant in fact s-attributes) you said this:</div><br><div class="gmail_extra"><div class="gmail_quote">


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
CQPweb&#39;s awareness of XML currently leaves rather a lot to be desired as XML-element-level-data cannot currently be added in. When I get a reasonable chunk of programming time, I intend to address this.<br>
<br></blockquote><div><br></div><div>However, playing around I realised that if I encode the corpus externally and then upload it from the interface using the already command-line encoded version of the corpus, XML tags converted into s-attributes can in deed be queried/displayed, even using the attribute-value pairs of the structure markup xml tags. Is that correct?</div>


<div><br></div><div>Is there any other thing I should be aware of? Like other restrictions that I might encounter.</div><div><br></div><div>For instance, one thing that does not seem to be working is the visualization options: I have a rule that says</div>

<div><br></div><div>in an occurrence of &lt;speaker&gt;<br>where <em>type</em> matches <em>int </em>use italics<br></div><div><br></div><div>but I get something like</div><div><br></div><div><div>CQP sent back these error messages:</div>

<div><br></div><div>**** CQP ERROR ****</div><div><br></div><div>CQP Error:</div><div><br></div><div>No such attribute: speaker_</div></div><div><br></div><div>If I add a rule for the speaker_type markup then the message is similar but not exactly the same:</div>

<div><br></div><div><p class="">CQP sent back these error messages:</p><p class="">**** CQP ERROR ****</p><p class="">CQP Error:</p><p class="">        No such attribute: speaker_type_</p><p class="">CQP Error:</p><p class="">        No such attribute: speaker_type_type</p>

<p class="">In the first case it seems that is not getting that I want it to search for speaker type=&quot;int&quot;, in the second case it seems it is duplicating the type attribute...</p><p class="">Thanks in advance!<br>

</p></div><div>Martí</div><div> </div></div>-- <br>Martí Quixal<div>Computational Linguist &amp; Educational Technologist</div><div><a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a></div>


<br>
</div>