Thanks for the fast reply :D<br><br><div class="gmail_quote">2010/12/15 Peter Harris <span dir="ltr"><<a href="mailto:pharris@opentext.com">pharris@opentext.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 2010-12-15 18:32, Marcos Roriz wrote:<br>
> Hi,<br>
> I'm making a simple parser for the xmls in the xcb (in java :D) and<br>
> I'm a little confused about the <import> statement, what does it mean?<br>
> Does it mean that the .xml extension inheris the file types?????<br>
<br>
</div>Yes.<br>
<br>
For example, render.xml does an <import>xproto</import> so that it can<br>
use RECTANGLE, VISUALID and etc types (which are defined in xproto.xml).<br>
<br>
The most complex example is in glx.xml. There exists a PIXMAP type in<br>
both xproto.xml (imported) and in glx.xml. It uses the fully qualified<br>
types "glx:PIXMAP" and "xproto:PIXMAP" to disambiguate. Most uses of<br>
import don't have any name collisions, though.<br>
<br>
Peter Harris<br>
<font color="#888888">--<br>
Open Text Connectivity Solutions Group<br>
Peter Harris <a href="http://connectivity.opentext.com/" target="_blank">http://connectivity.opentext.com/</a><br>
Research and Development Phone: +1 905 762 6001<br>
<a href="mailto:pharris@opentext.com">pharris@opentext.com</a> Toll Free: 1 877 359 4866<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Marcos Roriz<br>Bacharelando em Ciência da Computação<br>Universidade Federal de Goiás<br><br>E-mail: <a href="mailto:marcosrorizinf@gmail.com" target="_blank">marcosrorizinf@gmail.com</a><br>
Home Page: <a href="http://marcosroriz.wordpress.com" target="_blank">http://marcosroriz.wordpress.com</a><br>