Thu
3
Feb '05
creating an extensible schema
by Frank Spychalski filed under Work

after a lot of searching I found out how to tell my XML Schema that I want to allow a random attribute from a certain namespace for this element.

The solution is actually pretty simple, just add:

<xsd:anyAttribute namespace="optional namespace” processContents=”skip”/>

to your element declaration.

I guess I just used the wrong terms…


Any comments? Or questions? Just leave a Reply: