xml hirarchy

Hi,

I have thousands of lines of XML with root parent, children, sibling, grand parent, great grand parent etc nodes amost 10-20 levels down.

How do i see the XML hirarchy in one stroke rather than closing each and every node and finind the hierarchy in log process. Is there is a view in notepad++ or ecllipse which does show the hierarchical view. please advise
LVL 7
gudii9Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gudii9Author Commented:
i see outline but when i click on a particular line say 1749 line it is not showing that hierarch in outline exactly. please advise
Gerwin Jansen, EE MVETopic Advisor Commented:
Notepad++ has an XML tools plugin that you can use to pretty-print your XML file. Would that help?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gurpsbassiCommented:
i see outline but when i click on a particular line say 1749 line it is not showing that hierarch in outline exactly. please advise

not sure what you are after.

Doesn't eclipse satisfy your requirement? Try creating an xml file in eclipse and then click on the "design" view tab.
Should give you a graphical representation.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

aikimarkCommented:
(free) Tools like XMLNotepad and XMLPad are capable of showing and searching very large XML documents.
gudii9Author Commented:
Notepad++ has an XML tools plugin that you can use to pretty-print your XML file. Would that help?

i use that still i have to scroll up and down multiple times and close multiple upper tags to identify exact XPATH of the element or hierarch of the element.
eclipse and then click on the "design" view tab.

i do not see design tab. I am using RSA 8.5 built on top of eclipse. Not sure why. please advise
gurpsbassiCommented:
So what happens when you open a xml file in RSA? does it simply open in a text editor?
Check your eclipse file associations under preferences and ensure XML files are opened with the eclipse default XL editor.


Alternatively, try installing a simple vanilla version of eclipse?  IBM products are not the best to work with.
gudii9Author Commented:
outline view does show some hierarchy high level. I wish i have some tool in which i select right click it shows all the path including parent, grand parent , great grand parent etc till room correctly without manually going and chasing to the top?
Gerwin Jansen, EE MVETopic Advisor Commented:
You may want to have a look at a commercial application like XML Spy from Altova.
gurpsbassiCommented:
I wish i have some tool in which i select right click it shows all the path including parent, grand parent , great grand parent etc till room correctly


Right click what?

'All the path' - what do you mean?

'till room' - what do you mean?
gudii9Author Commented:
'All the path' - what do you mean?

i mean complete xpath of that particular element which is at say great grand child location(leg then room/furniture/table/leg xpath) of original xml whose root is lets say 'room'
<room>
<furniture>
<table>
<leg>
......
</leg>
gurpsbassiCommented:
still have no idea what your requirement is.

Maybe you can record a video and post it on here to show us what you are doing.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
XML

From novice to tech pro — start learning today.