[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL stylesheet issue - part 2 (newbie)

Subject: Re: XSL stylesheet issue - part 2 (newbie)
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Oct 2024 07:56:17 -0000
Re:  XSL stylesheet issue - part 2 (newbie)
On 22/10/2024 09:48, Frank Dissinger frank.dissinger@xxxxxxxxxxxx wrote:
There is still one issue. The "level" variable seems to remain empty. It is
supposed to be a number which indicates the nesting level of the heading and
should become part of the value of the "class" attribute of the TOC headings.


I don't think the variable is empty but to reference it in an attribute template you need e.g.

B <p class="toclev{$level}">

and not

B <p class="toclev{level}">

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.