Hi all, I've had a look at the scripts to convert Bob's interactive webpages to static DocBook XML for inclusion in the User Guide. This is how we did it in the past:
1. Use ?xml to get XML 2. use XSLT to convert this to DocBook XML fragments However, the current XML output of the JavaScript is seriously broken, and only upto pmesh goes correct, and the rest comes out as jibberish pmesh comments... :( Bob, I briefly tried to convert the *.js directly to XML, but could not figure out what was what... Are you up to helping me out with this? I want to write a Perl script that create one XML document from which we can generate the DocBook XML... But I need help with understanding what is the function of each *.js file (toks, cmds, defs, exam)... Some I can figure out, but I struggle with difference in the newCmd() lines in cmds.js... and how to interpret the fields, and how they link with the other js files... The current script I have is attached. Run it like this: cat cmds.js | cmds2xml.pl It will get you XML version... Egon -- [EMAIL PROTECTED] GPG: 1024D/D6336BA6
cmds2xml.pl
Description: Perl program
