This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Illegal ID values (was: DTD help!)
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Illegal ID values (was: DTD help!)
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 12 Apr 2001 12:03:23 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> Bizarrely XPath does not state that the system should always take the
> first, it states that if there are two, then the second should not be
> taken, which seems to leave it formally undefined what to do
> if three or
> more elements are specified with the same id.
I thought the recursion was so deep and elegant that you would really like
it, David: surely the rule "if there are two, ignore the second", if applied
recursively, is a very XSLT-like way of saying that however many there are,
you take the first?
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list