File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
XML Schema Substitution Group
Joined: Sep 17, 2001
Sep 27, 2005 08:18:00
Can anybody please explain what are ***Substitution Groups*** in XML Schema with a simple example as this concept is little bit fuzzy for me.
Joined: Sep 08, 2005
Sep 28, 2005 02:14:00
Just checked the official explanation (
)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
It is sorta covered in the
JavaRanch Style Guide
subject: XML Schema Substitution Group
XML to Java
free plugin for XML, XSD,...
Howto validate xml schema?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013