|
From: Dan M. <mu...@al...> - 2002-03-11 04:01:44
|
I can't reproduce this problem, so I'm not sure what is causing it. Here are a couple things you might try doing to the stylesheet to see if it helps: (1) Try removing the 9 lines: <xsl:param name="toclevel"/> from /usr/share/scrollkeeper/stylesheets/toc.xsl. (2) Try replacing these lines with: <xsl:param name="toclevel" select="0"/> Technically (2) is the best, although all 3 forms work fine for me. Do these help? Does the index stylesheet work okay for you? Dan On 5 Mar 2002, Mikael Hallendal wrote: > Hi! > > ScrollKeeper keeps generating broken TOC-files for me, this is how they > look: > > <?xml version="1.0"?> > <toc> > <tocsect1, linkid="intro">Introduction > </tocsect1,> > <tocsect1, linkid="usage">Using GNOME Calculator > <tocsect2, linkid="mainwin">Basic usage > </tocsect2,> > <tocsect2, linkid="menubar">Menus > </tocsect2,> > <tocsect2, linkid="buttons">Buttons > </tocsect2,> > </tocsect1,> > <tocsect1, linkid="bugs">Known Bugs and Limitations > </tocsect1,> > <tocsect1, linkid="authors">Authors > </tocsect1,> > <tocsect1, linkid="license">License > </tocsect1,> > </toc> > > notice the , in the end of all tocsectX tags. > > What is causing this (others have problems with it too?). > > Regards, > Mikael Hallendal > > |