jmadux2003
Programmer
- Jul 2, 2009
- 1
In XSD, how would I go about defining 2 elements of the same name(e.g., Input), but have different attribute requirements depending on a particular type?
For example, with html, the attributes you provide for the Input element are dependent on the value you provide for the Type attribute.
<Input Type="text" name="name1" maxlength="20"/>
<Input Type="checkbox" checked="checked"/>
Thanks in advance.
For example, with html, the attributes you provide for the Input element are dependent on the value you provide for the Type attribute.
<Input Type="text" name="name1" maxlength="20"/>
<Input Type="checkbox" checked="checked"/>
Thanks in advance.