Recently I had to write some XSL transforms in which I wanted to ignore the DOCTYPE declarations in the source XML files. In one case, I didn’t have access to the DTD (and the files wouldn’t have validate even if I did). In the other … Read More
I spend a good deal of time with a Windows cmd.exe window open on my desktop. If I’m not running the DITA OT, I’m testing some Perl script, or Ant, or Python, or who knows. A few years ago (in the Windows 98 days), I … Read More
Which graphics formats should you use in your documentation? For print, the traditional advice is EPS for line drawings and TIFF for screen captures and photographs. That’s still good advice. These days, you might choose PDF and PNG for the same purposes. There are caveats … Read More
Jeni Tennison has a new blog. Her latest post has tips on when to use template matching, named templates, and for-each statements. In my experience, most people who are new to XSL overuse for-each loops, because they most closely resemble familiar programming constructs.