Re: [xsl] XSL stylesheet issue - part 2 (newbie)

Subject: Re: [xsl] XSL stylesheet issue - part 2 (newbie)
From: "Alan Painter alan.painter@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Oct 2024 15:43:19 -0000
I've always said: XSLT requires real intelligence.

On Tue, Oct 22, 2024, 10:06 Frank Dissinger frank.dissinger@xxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> 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] 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}">

Current Thread