On Thu, 2004-09-30 at 16:02, Tammy Fox wrote:
Well, actually, since the content model for <xref> is EMPTY, the proper form should be:
<xref linkend="foo" />
PSGML mode still allows me to close it with </xref>. Should we change the docs guide to use this method instead?
Either is syntactically correct according to XML 1.0 production 44 [1]. psgml isn't a good validator, its author admits as much. My preference is for rxp for a validator. For the example above, I guess <xref linkend=""/> might be nominally preferable.
[1]http://www.w3.org/TR/2004/REC-xml11-20040204/#dt-eetag
Regards DaveP. XSLT&Docbook FAQ http://www.dpawson.co.uk/xsl