Please look at the XInclude.java file in the sample package of the source
distribution.
This class demonstrates how to use the include attr.,which might be useful
for your case.

More info on the include attribute can be found here:
http://www.swixml.org/tagdocs/customattr.html

Wolf


"Iborg Halim" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> using more than one XML file
>
> Hello,
>
> it's possible to use more than one XML file to create the GUI?
>
>
> e.g.
>
> +--Application----------------+
> | +---------panel_1---------+ |
> | |                         | | <----gui1.xml
> | |                         | |
> | +-------------------------+ |
> | +---------panel_2---------+ |
> | |                         | | <----gui2.xml
> | |                         | |
> | +-------------------------+ |
> +-----------------------------+
>
> if I use:
>
>  {
>   ...
>   engine.insert(gui1.xml, this);
>   engine.insert(gui2.xml, this);
>   ...
> }
>
> compunents in the first gui1.xml will overwritten.
>
> Thanks...
> Halim




Reply via email to