On 1.10.2013 19:24, David Cramer wrote: > This sounds great! It should help performance in the browser as well. > I'll give it a shot.
Regarding browser performance -- I haven't studied patch very carefully
but if understand correctly it still puts ToC into each HTML page. This
can make pages really large. Another possible approach is to store ToC
into a separate file and load it dynamically -- either as a script or
using AJAX. This can significantly decrease loading time, but parsing
ToC from some JS structure will take some time for larger documents.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: [email protected] http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
Bringing you XML Prague conference http://xmlprague.cz
------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature
