If you design an XML Schema to represent a single instance document then it is always going to be obsolete very quickly, because it will be over-constrained. And if you move to a completely generic XML format where the tag names say nothing about your application domain then the schema is going to be useless because it is under-constrained. What exactly are you trying to achieve? Michael Kay Saxonica |