Hi.. I have a little trouble defining a group in my xsd schema.
I have a tag in my xml which have some sub elements eks:
<TEST> <ELEM1> <ELEM2> <ELEM3> </TEST>
How do i define in my xsd schema that any element (ELEM1/2/3), can accour any number of times, in any order and none of them are required.
I cant use: <xsd:sequence> because they can come in any order, I cant use: <xsd:choice> because all elements can be there I cant use: <xsd:all> because its not required that all of them have to be there.
Jyske Bank er rykket ind i Glaskuben på Kalvebod Brygge, et markant byggeri i hjertet af København. Knap 1.000 arbejder her, heraf 200 i IT, med nye rammer for samarbejde, innovation og udvikling.
Slettet bruger
20. april 2005 - 21:14#1
Hmmm - according to the MSXML 4.0 SDK specs, <all> will do that for you:
"Allows the elements in the group to appear (or not appear) in any order in the containing element."
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.