On Wed, 7 Oct 2020 at 08:59, Kevin Buckley <kevin.m.buck...@gmail.com> wrote: > ... > All this time, and I had assumed that LFS had extended the Schema/DTD > so as to use certain attributes that appeared specific to LFS. > > Cheers for pointing that out: I'll "make other plans" ! > > Kevin
Since then, Bruce has written > See https://tdg.docbook.org/tdg/4.5/ref-elements.html#common.attributes > for the defined attributes. To translate those attributes to html you > still need a custom xsl like stylesheets/lfs-chunked.xsl and the files > in stylesheets/lfs-xsl/. Learning xsl is definitely a non-trivial task. > It is not a procedural language. Generally we try to avoid changing > the xsl due to its complexity. Cheers for yet another pointer, and don't worry, I have used XSLT in the past. (FWIW, for munging the XML output of two Son of Grid Engine commad-line query tools inside a Java code - long time ago now but, oh, what fun we had!) Anyroad, just to say that I have gone with using the "userlevel" attribute (as it's not used anywhere else in LFS that I can see) so as to separate my PkgUser content from that of the vanilla book, as well as from Thomas's Multilib content. There's a soupcon of refactoring of my current source required (!) but I can see a path forwards now and, indeed, I can see that I should have started from somewhere back on that path when I first set off! Thanks again for all the pointers, Kevin -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page