I have a java application where i can map a XSD type to another with same type. Now i have requirement to have one anyType xsd to which i can map any type. Like as we have Object type in java, is it possible to create like in XSD.
Edit: At complex type level is it possible.
Yes, it’s possible. The type is
xsd:anyType. Here’s an example:(Taken from the primer)
Here’s a more complex example:
(From the primer as well – it’s worth looking at at it)