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 XSLT - is it possible? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT - is it possible?" Watch "XSLT - is it possible?" New topic

XSLT - is it possible?

Willian Corcel

Joined: Jun 04, 2003
Posts: 13
I'd like to use XSLT to read a XML and transform to HTML...
supose I have a XML file like this:
<node title="node6">
<node title="node2" />
<node title="node3">
<node title="node4">
<node title="node5"/>
<node title="node1" />
I want to transform to a HTML... and sort by title... it'd be like this:

How can I do that? I have no idea how to write the XSL to do this job.
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
In what way is (1,3,4,5,6,2) a 'sort by title' ?

Ron Newman - SCJP 1.2 (100%, 7 August 2002)
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
check this tutorial

Spritle Software Blogs
I agree. Here's the link:
subject: XSLT - is it possible?
It's not a secret anymore!