[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL stylesheet issue - part 2 (newbie)
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 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}">
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|