File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes SOS beginner needs XSLT help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "SOS beginner needs XSLT help" Watch "SOS beginner needs XSLT help" New topic

SOS beginner needs XSLT help

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
I have an XML document that does not have any space between brackets as follows:

I have been looking for an XSLT script that would give me that:

or something more human-readable that the first example. Is that possible?

I have been working on that all day long without much success as I am a beginner in xslt. Any help or clue immensely welcome!!

Paul Clapham

Joined: Oct 14, 2005
Posts: 18541

Looks like you have an acceptable answer over here so I will close this thread.
I agree. Here's the link:
subject: SOS beginner needs XSLT help
Similar Threads
Accessing attribute with colons
XSLT get parent node based on child node's attribute
Copying One node values from one xml to another xml
Problem deploying two war files to one instance of jboss-5.1.0.GA
how to fix the weird characters from displaying in xsl output?