Scotty's Engineering Log
Scott Hudson's blog on XML, DocBook, Sci-Fi and Storm Chasing
<cumulonimbus/>
archives
links
Recent Entries

20040721 Wednesday July 21, 2004

Flattening DTDs

As with most software, what you get out of the box is never exactly what you want, so you have to tweak the preferences, settings and if you're a hacker, maybe even the code.

With DTDs, it is also the same. Thankfully, Norm Walsh designed DocBook with modularity and customization layers in mind. The problem is that many XML editors don't like DTDs with external parameter entities or entity references, and want them flattened.

Here are a few DTD flatteners you can try, should you need to create your own customization layers, or need a flattened DTD:

Hopefully this will give you some options. I've had the best luck with the dtdflatten and flatten.pl programs on Solaris.

(2004-07-21 09:07:16.0) Permalink See also:

Docbook template for Word, StarOffice, OpenOffice

There was a posting to the docbook-apps list at Oasis about a standard word template where the styles map to a docbook element (even if not 1:1) so that only one stylesheet need be written to convert the output to Simplified Docbook.

Dan Gilleland replied that even though it's for Simplified, it can be extended to full DocBook. He posted the link to O'reilly's site, where you will find:

Microsoft Word for the PC or Mac, tagged according to our paragraph and character style template that is available at ftp://ftp.ora.com/pub/frame/templates/mswd/temp98.doc. Note that you should also be able to use this template for programs such as OpenOffice and StarOffice.

Thank you to Uratsuki for the link correction: ftp://ftp.ora.com/pub/frame/templates/mswd/.

I've got to try this in OO, and will report back...

(2004-07-21 08:45:57.0) Permalink Comments [1] See also:

LEGO Star Wars Video Game

The Official Star Wars website reported that Giant Interactive Entertainment and Traveller's Tales will be creating a Star Wars action-adventure video game using the Star Wars Lego universe!

I'm a HUGE fan and collector of the Star Wars Lego series. In fact, I think I'm missing only about ten sets. For a complete list of available sets, check out my favorite Star Wars Lego website: From Bricks To Bothans (fbtb.net)

Along those lines, here's the latest update on my Star Destroyer build (pics to follow later):
current build time: 20 hours
estimated time to completion: 4 hours
I've got the main body and engines complete. Now it's a matter of finishing the main tower...

(2004-07-21 08:24:27.0) Permalink See also: