| Author |
XML Schema Substitution Group
|
Rr Kumaran
Ranch Hand
Joined: Sep 17, 2001
Posts: 548
|
|
Hi, Can anybody please explain what are ***Substitution Groups*** in XML Schema with a simple example as this concept is little bit fuzzy for me. Thanks.
|
RR Kumaran
SCJP 1.4
|
 |
Gernot Greimler
Greenhorn
Joined: Sep 08, 2005
Posts: 6
|
|
Just checked the official explanation ( http://www.w3.org/TR/2001/REC-xmlschema-0-20010502/#SubsGroups )and if i get this right, then substitution groups are used for recurring optional elements. But if that is true - why not simply create a complexType with optional fields and attach it? (Just guessing arround and trying to understand aswell - no expert here )
|
 |
 |
|
|
subject: XML Schema Substitution Group
|
|
|