You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Helmut Ziegler <he...@stud.tu-ilmenau.de> on 2005/02/17 16:37:42 UTC
JTree XMLBeans
Hi,
has anyone a good solution for building a JTree that represents the
structure of an XML document? That means I want to show the XML elements
in the tree. I tried to do that with the XmlCursor but didn't come to
any acceptable results so far.
Thanks in advance
Helmut
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: JTree XMLBeans
Posted by Helmut Ziegler <he...@stud.tu-ilmenau.de>.
Hi Serge,
thanks for the link. I've done it already with DOM but want to use
XMLBeans this time.
Cheers,
Helmut
Serge wrote:
>Hi, Helmut.
>
>If it is not necessary to create JTree exactly using
>XMLBeans, you can solve your problem using DOM.
>Read sections "Displaying a DOM Hierarchy", "Examining the
>Structure of a DOM" and "Constructing a User-Friendly JTree
>from a DOM" sections of J2EE 1.4 Tutorial.
>(http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html)
>
>
>
>
>>Hi,
>>
>>has anyone a good solution for building a JTree that
>>represents the structure of an XML document? That means I
>>want to show the XML elements in the tree. I tried to do
>>that with the XmlCursor but didn't come to any acceptable
>>results so far.
>>
>>Thanks in advance
>>Helmut
>>
>>
>>
>>
>>
>---------------------------------------------------------------------
>
>
>>To unsubscribe, e-mail:
>>user-unsubscribe@xmlbeans.apache.org
>>For additional commands, e-mail:
>>user-help@xmlbeans.apache.org
>>
>>
>>
>
>_____
>Best Regards, Serge.
>mailto:teron@udm.ru
>ICQ 315293596
>
>"СОЛО на клавиатуре" - обучение слепому десятипальцевому
>набору
>Для получения информации посетите, пожалуйста, сайт
>http://www.ergosolo.ru
>----------------------------------------------------
>Треть суток на треть дешевле!
>МАРК-ИТТ ввёл льготные цены на ночной трафик в Народном Интернете
>цены на трафик на 30% ниже дневных в период с 1:00 до 9:00.
>600-й - 1.75р, Профессиональный - 1.89р, Деловой - 1.96р, 5-ка - 2,03р, Домашний - 2,10р
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
>For additional commands, e-mail: user-help@xmlbeans.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org
Re: JTree XMLBeans
Posted by Serge <te...@udm.ru>.
Hi, Helmut.
If it is not necessary to create JTree exactly using
XMLBeans, you can solve your problem using DOM.
Read sections "Displaying a DOM Hierarchy", "Examining the
Structure of a DOM" and "Constructing a User-Friendly JTree
from a DOM" sections of J2EE 1.4 Tutorial.
(http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html)
> Hi,
>
> has anyone a good solution for building a JTree that
> represents the structure of an XML document? That means I
> want to show the XML elements in the tree. I tried to do
> that with the XmlCursor but didn't come to any acceptable
> results so far.
>
> Thanks in advance
> Helmut
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail:
> user-help@xmlbeans.apache.org
>
_____
Best Regards, Serge.
mailto:teron@udm.ru
ICQ 315293596
"СОЛО на клавиатуре" - обучение слепому десятипальцевому
набору
Для получения информации посетите, пожалуйста, сайт
http://www.ergosolo.ru
----------------------------------------------------
Треть суток на треть дешевле!
МАРК-ИТТ ввёл льготные цены на ночной трафик в Народном Интернете
цены на трафик на 30% ниже дневных в период с 1:00 до 9:00.
600-й - 1.75р, Профессиональный - 1.89р, Деловой - 1.96р, 5-ка - 2,03р, Домашний - 2,10р
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org