Subject: Table of contents
From: "Jan Zavoral" <zavoral@xxxxxxxxxxx>
Date: Fri, 2 Aug 2002 14:45:57 +0200
|
Hello,
I am a new in XSL. Please I need your help. I have XML document like this:
<colors>
<chapter>
<title>Colors</title>
</chapter>
<sub-chapter >
<s-title>Red</title>
</chapter>
.
.
.
.
<sub-chapter>
<s-title>Green</title>
</chapter>
.
.
</colors>
I need to create Table of contents like this:
<h1>Colors</h1>
<h2>1.1 red</h2>
<h2>1.2 green</h2>
<h2>1.2 blue</h2>
In this xml document is many elements. I need only select
element <title> and <s-title> and display it on start of text.
Output-method is HTML.
Thanks
Jan Zavoral
---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.380 / Virová báze: 213 - datum vydání: 24.7.2002
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- or condition
- subbu - Fri, 2 Aug 2002 06:08:13 -0400 (EDT)
- David Carlisle - Fri, 2 Aug 2002 06:40:07 -0400 (EDT)
- Jan Zavoral - Fri, 2 Aug 2002 08:45:51 -0400 (EDT) <=
- Wendell Piez - Fri, 2 Aug 2002 17:34:56 -0400 (EDT)
|
|