Subject: RE: xsl:key
From: Thorbjørn Ravn Andersen <TRA@xxxxxxxx>
Date: Wed, 21 Jun 2000 13:27:08 +0200
|
> Note here that the 'Target' element is an empty one: it does
> not contain
> the paragraph that it refers to. This contradicts your DTD,
> which says
> that the 'Target' element should *contain* a 'Content'
> element rather than
> be *followed by* a 'Para' element. I'll assume that your
> sample XML is
> what you want, rather than the DTD.
On a side note: Saxon includes a DTDGenerator which can build a DTD from a sample document, which may be beneficial in a case such as this.
--
Thorbjørn
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|