- From: Martin Gudgin <marting@develop.com>
- Date: Thu, 17 May 2001 01:17:11 +0100
- To: "Jeff Lowery" <jlowery@scenicsoft.com>, <xmlschema-dev@w3.org>
Looks fine to me. Martin Gudgin DevelopMentor ----- Original Message ----- From: "Jeff Lowery" <jlowery@scenicsoft.com> To: <xmlschema-dev@w3.org> Sent: Thursday, May 17, 2001 1:01 AM Subject: Keying off text nodes > Howdy, > > I'm wondering about the correct syntax for defining keys based on element > text content. Is the following key definition valid? > > --------------------------------------- > <element name="studentActivity"> > <complexType> > <sequence> > <element name="studentID" type="IDREF"/> > <element name="activity" type="normalizedString"/> > <element name="fee" type="decimal"/> > </sequence> > </complexType> > > <key name="saKey"> > <selector xpath="."/> > <field xpath="studentID"/> > <field xpath="activity"/> > </key> > </element> >
Received on Wednesday, 16 May 2001 20:18:41 UTC