PDA

View Full Version : default attributes


angiras
01-23-2004, 09:43 AM
why one cannot do that >>

<xs:attribute name="defaut" type="xs:boolean" use="required" default="1" />

If I create a new xml file depending on this xsd file I want to give directly to my attributes a default="1"


If I remove use="required"

<xs:attribute name="defaut" type="xs:boolean" default="1" />

it doesn't work too


i'm using xmlspy