Complementing XSD with CHECK constraints

I was recently asked to look at a customer’s question. This person wanted to write a schema that would validate instances like the following one. <TopElement>   <a>     <element1 att1=”data1″ att2=”data2″/>     <an_element att1=”data 1″ att2=”data 2″/>     <something att1=”abc” att2=”def”/>   </a> </TopElement>   The customer had two requirements for the children of…

3

xsi:type magic

As I said in my previous post, the past few weeks have been demanding and I had little time to spend on blog post.  However I recently rediscovered an interesting behavior in typed XML DML and I felt I should make some time for a quick post. Today’s post deals with xsi:type. If you don’t…

3