JT and I have worked out a plan to upgrade several aspects of the XML encoding in advance of any rendering work; we've also figured out how we want to create static URLs to content. JT's now moving ahead with XML fixes. Other work (fixes for broken links etc.) is almost complete, thanks to TL and EGW.