I specified this at my XSLT file:

<xs:key name="UniqueGroup">
        <xs:selector xpath="."/>
        <xs:field xpath="@id"/>
</xs:key>

In my xml file I wrotw:
<group id="3">
....
</group>
<group id="4">
....
</group>
<group id="3">
....
</group>

and this was accepted by my parser. I mean I parsed the document and it does
not shout.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 11:51 PM
To: [EMAIL PROTECTED]
Subject: Re: supporting "key" in Schema


"BENHAJ-ABDELLATIF,TAHIA (HP-France,ex1)" <[EMAIL PROTECTED]>
writes:

> I want to make an element unique in my XML schema.
> I used the expression "key".
> But it does not work with Xerces-P.
> I tried to check if it works on XML Spy, and it works.
> Xerces-P, do not understand the expression "key"??

Sorry, please give a more detailed example of what you tried to do,
and what didn't work.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to