src-attribute2_0.xsd 418 B

12345678910111213
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!-- 3.2.3 : 2
  3. If default and use are both present, use must have the ·actual value· optional
  4. -->
  5. <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
  6. <element name="foo">
  7. <complexType>
  8. <attribute name="bar" type="string" use="required" default="moo" />
  9. </complexType>
  10. </element>
  11. </schema>