Annotation of embedaddon/libxml2/test/schemas/restriction-attr1_0.xsd, revision 1.1
1.1 ! misho 1: <?xml version="1.0" encoding="ISO-8859-1"?>
! 2: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://FOO" targetNamespace="http://FOO">
! 3:
! 4: <xs:element name="foo">
! 5: <xs:complexType>
! 6: <xs:complexContent>
! 7: <xs:restriction base="typeA">
! 8: <xs:attribute name="barA" type="xs:string" use="optional"/>
! 9: </xs:restriction>
! 10: </xs:complexContent>
! 11: </xs:complexType>
! 12: </xs:element>
! 13:
! 14: <xs:complexType name="typeA">
! 15: <xs:attribute name="barA" type="xs:string" use="required"/>
! 16: </xs:complexType>
! 17:
! 18: </xs:schema>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>