> can anyone tell me? i have one xml file..i want to display that file
> in tree view using Jtree or any other method....?
It is not necessary to tell us you are new
to the group.
A better subject for your actual question might
be along the lines of.. "Display XML in JTree"
A good subject line helps get the attention of
the people who are experts on the problem.
Note that you will also get more time and respect
if you take effort to make messages and questions
easy to read. To that end, I strongly recommend
using correct capitalisation.
For example, JTree has two upper case letters,
while XML is all upper case - also, the word
'I' should always be upper case, as well as
the first letter of each sentence.
--
Andrew T.
Rasikow Gnaniyar - 12 Mar 2008 11:24 GMT
> > can anyone tell me? i have one xml file..i want to display that file
> > in tree view using Jtree or any other method....?
[quoted text clipped - 19 lines]
> --
> Andrew T.
thanks fo ryour spontaneous reply..i vl try as u said.
Lew - 13 Mar 2008 01:08 GMT
Andrew Thompson wrote:
>> the word 'I' should always be upper case, as well as
>> the first letter of each sentence.
> thanks fo ryour spontaneous reply..i vl try as u said.
Are you being sarcastic, Rasikow?
If so, you'll fit right in around here. :-)

Signature
Lew
> can anyone tell me? i have one xml file..i want to display that file
> in tree view using Jtree or any other method....?
I'd do the following
* Read about JTree and appropriate models.
* Read about DOM vs SAX parsers and choose one approach.
* Read about various available parsers of the chosen type.
* Write a short test program that reads XML and displays a JTree
* Post my program here when I have problems I can't solve.
Googling for "java xml jtree" might lead you to example 19.5 in
http://www.oreilly.com/catalog/jenut2/chapter/ch19.html
> - Rasikow
If you separate your signature with the traditional separator (newline
hyphen hyphen space newline) newsreaders will apply special handling
(e.g. omitting it from quoted sections in replies)

Signature
RGB
Rasikow Gnaniyar - 12 Mar 2008 11:25 GMT
On Mar 12, 3:06 pm, RedGrittyBrick <RedGrittyBr...@SpamWeary.foo>
wrote:
> > can anyone tell me? i have one xml file..i want to display that file
> > in tree view using Jtree or any other method....?
[quoted text clipped - 17 lines]
> --
> RGB
thanks RedGrittyBrick ..i vl go through ur link....
Lew - 13 Mar 2008 01:09 GMT
> thanks RedGrittyBrick ..i vl go through ur link....
What is "vl"? What is "ur"?
The only "Ur" I know, and it's supposed to be capitalized, just like the word
"I", is
<http://en.wikipedia.org/wiki/Ur>

Signature
Lew
Rasikow Gnaniyar - 12 Mar 2008 11:36 GMT
my xml file is like this :
<?xml version="1.0" encoding="UTF-8"?>
<mp_tree>
<mp_node_0 catId="2" category="automobiles" tree="1" inActive="1"
dateAdded="2008-03-11 19:56:21.0" />
<mp_node_0 catId="3" category="States" tree="1" inActive="0"
dateAdded="2008-03-11 19:57:55.0" />
</mp_tree>
i want output in tree view like this: ( using JTree or any other
method)
AutoMobile
- Cars
- Truck
States
- Tamilnadu
- Kerela
RedGrittyBrick - 12 Mar 2008 12:45 GMT
> my xml file is like this :
Note - the OP has reposted this under a new subject.
The new subject is better, but fragmenting and duplicating the
discussion is a bad thing.

Signature
RGB
Lew - 13 Mar 2008 01:10 GMT
>> my xml file is like this :
>
> Note - the OP has reposted this under a new subject.
>
> The new subject is better, but fragmenting and duplicating the
> discussion is a bad thing.
So is his refusal to accept coaching with respect to spelling and the sig line.

Signature
Lew
Andrew Thompson - 12 Mar 2008 13:12 GMT
On Mar 12, 9:06 pm, RedGrittyBrick <RedGrittyBr...@SpamWeary.foo>
wrote:
...
> If you separate your signature with the traditional separator (newline
> hyphen hyphen space newline) newsreaders will apply special handling
> (e.g. omitting it from quoted sections in replies)
BTW - I am usually careful to add the delimiter
before my sig. but am not confident that GG is
handling that correctly. Could you confirm that
your (checks) Thunderbird news client suppresses
my signature?
--
Andrew T.
Andreas Leitgeb - 12 Mar 2008 14:20 GMT
> Could you confirm that your (checks) Thunderbird
> news client suppresses my signature?
> --
> Andrew T.
Sorry, seems like google screws the final blank.
Andrew Thompson - 12 Mar 2008 14:32 GMT
On Mar 13, 12:20 am, Andreas Leitgeb <a...@gamma.logic.tuwien.ac.at>
wrote:
> > Could you confirm that your (checks) Thunderbird
> > news client suppresses my signature?
> > --
> > Andrew T.
>
> Sorry, seems like google screws the final blank.
Thanks for confirming. :-(
(I will probably continue to add it in the
vain hope that Google can get their excrement
together - and out of long habit..)
--
Andrew T.
Lew - 13 Mar 2008 01:11 GMT
> On Mar 13, 12:20 am, Andreas Leitgeb <a...@gamma.logic.tuwien.ac.at>
> wrote:
[quoted text clipped - 9 lines]
> vain hope that Google can get their excrement
> together - and out of long habit..)
Google Groups sucks like a vacuum cleaner.

Signature
Lew