Great! The script works fine now! Many, many, thanks!!!
I hope I can dig deeper into this XSL matter one day. But it's difficult in a
one-man techwrite department. There's just not enough time.
(Everybody praises AI. But it's obviously not as smart as I thought...)
-----UrsprC<ngliche Nachricht-----
Von: Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Gesendet: Dienstag, 22. Oktober 2024 09:56
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: 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.
<p class="toclev{$level}">
and not
<p class="toclev{level}">
|