This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes create a table of content in xslt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "create a table of content in xslt" Watch "create a table of content in xslt" New topic
Author

create a table of content in xslt

Rakesh Keerthi
Ranch Hand

Joined: Jul 16, 2012
Posts: 136
Hi,
I have the below 2 xml files.

file1: Name= BVI-Chapter01





file 2: BVI-Chapter02





i want to create an xslt file that gives me table of contents as in the below HTML source. if click on the link it should open the document and point to that section containing that number. please let me know how do i do it.






i know that it may be against forum rules to ask for the code. but i'm really unable know a way of doing this task please let me know how to do it.

Thanks
 
 
subject: create a table of content in xslt