Well let's start with the any. Ok, let's say you want to write a schema for sending messages but you want to make it flexible. You want to define the message envelope but the structure of the message payload is unknown to the system. Here's how you'd do it.
This means the message must have a Date, a Sender and any content.
Here's an example message:
The any tag can be further customised with attributes such as minOccurs and maxOccurs.
Now for that
anyAttribute is very similar except it works on attributes.
Allows the following XML
1. The XSD schema standard