[ptsefton.com] | [CV & Bio]

Styles clarified


I've been going on here about using styles, but some concrete examples are probably worthwhile as Bryan D. Wilhite has asked on his blog about what I mean by this:

why not use the built-in word processing features and layer your semantics on top of them? Use the methods already provided for expressing your own semantics. Method number one is styles. Method number two is tables. This approach will work in versions of Word that don't have XML export, and with forthcoming Word formats that have been announced but not released and with other word processors that save in XML such as OpenOffice.org Writer.


Mr Wilhite shows how he uses his clean XTHML tool to write his blog in Word 2003, and wonders whether I use tables where he uses XML elements mixed in with Word's markup. The answer is no. I don't use tables. I use styles.

First of all, there's one area we have in common. A paragraph is a paragraph.

In his screenshot it appears that Bryan has used Word's built in structure to represent paragraphs. It looks like links are handled in a similar way – using Word's built-in hyperlinking function. Again, when I am producing a blog entry that's what I do too (only I am using OpenOffice.org Writer, not Word).

Where we differ is in the use of inline elements like acronym.

(In the spirit of Bryan Whilite's self-referential post I have added the style names I used to write this post to the rest of the paragraphs). {p}

So, to answer Bryan Wilhite's questions of me: {p}

So Bryan Wilhite, I have a question for you. Would you be interested in exploring with me whether we can get your clean XHTML system to use styles to produce its output? {p}