Manuel, I was playing around with the LFS xml, and I was trying to figure out a way that would be easy to export the package name and version into the dumped build scripts. Basically, I'm trying to write a stylesheet for paco right now. By adding role="install" to the necessary screen elements, I can easily wrap the commands for paco. I want the output to work like this:
paco -lp+ <package-name>-<package-version> " ...output from userinput... " What I can't get right is the $name-$version part. I'm playing with the dump-commands.xsl stylesheet in the LFS repo since it's simpler than lfs.xsl in jhalfs. It seems like the place you would want to have this to work easily with the rest of the stylesheet is to have them be child elements (or attributes) of <sect1>. <sect1> <package name="glibc" version="&glibc-version;"/> ... </sect1> That, of course, doesn't work since there is no defined package element, and it certainly is not a child of sect1 in docbook-xml. Right now, it seems that you're kludging the package name (for the filename) from the dbhtml processing-instruction. Is there a better way this could be done? Also, are there any limits to what can be placed in a processing instruction? Is there any reason we couldn't define our own custom pi? <?package glibc &glibc-version;?> Any help would be appreciated. I'm clueless on how to "extend" the XML. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
