Click to See Complete Forum and Search --> : default values of elements


Tkach Den
October 22nd, 2003, 11:00 AM
Hi, I need suggestion...
I have some xml document that confirm some XSchema document
in my schema defined element
<xs:element name="Address" type="xs:string" default="AAA"/>
so in xml I can write
<Address\> and such document is correct (confirm to schema)
And my question is - can I programmacaly (for example with XMLTextReader and so on) get a default value of element Address from xml file and can I get it without direct reading schema document?

Sabertooth
October 31st, 2003, 07:17 AM
Well, at least MSXML DOM can't do that :( That really sucks.