DTD & XSLT changes for Language techniques

I have implemented some changes to the DTD and XSLT that I've been wanting to do since the beginning.

It is now possible to add captions to figures and examples, and all figures and examples are automatically numbered within a document.  Not only that, but you can refer to a particular figure or example in the text using specref markup (eg. see Example <specref ref="xyz"/>, where xyz is the id of the example you are referring to). This ensures that references of this kind don't have to be updated manually, and provides more precision than saying 'the example above..".

You can see these changes at http://www.w3.org/International/geo/html-tech/tech-lang.html#ri20050128.175100333

In addition, I also implemented a method of externalizing the strings from the XSLT file that includes the ability to modify the position of variables in such strings during translation.  In due course I will write a couple of articles about how I did that.

The end result of all this work is not much in the visible page, and all editorial in nature.  I have not applied change markup to the changes I made to the document.

RI


============
Richard Ishida
W3C

contact info:
http://www.w3.org/People/Ishida/ 

W3C Internationalization:
http://www.w3.org/International/ 

Publication blog:
http://people.w3.org/rishida/blog/
 

Received on Monday, 31 January 2005 14:13:40 UTC