This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: xsl:key



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]