Daniel Veillard | 8acdfbf | 2004-06-03 16:00:59 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 | <xsd:schema xmlns:foo="http://FOO" |
| 3 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 4 | elementFormDefault="qualified" |
| 5 | targetNamespace="http://FOO"> |
| 6 | |
| 7 | <xsd:element name="foo"> |
| 8 | <xsd:complexType> |
| 9 | <xsd:sequence> |
| 10 | <xsd:element name="elem.lax" type="foo:type.lax"/> |
| 11 | <xsd:element name="elem.strict" type="foo:type.strict"/> |
| 12 | </xsd:sequence> |
| 13 | </xsd:complexType> |
| 14 | </xsd:element> |
| 15 | |
| 16 | <xsd:attribute name="bar" type="xsd:language" /> |
| 17 | |
| 18 | <xsd:complexType name="type.lax"> |
| 19 | <xsd:anyAttribute namespace="##any" processContents="lax"/> |
| 20 | </xsd:complexType> |
| 21 | <xsd:complexType name="type.strict"> |
| 22 | <xsd:anyAttribute namespace="##any" processContents="strict"/> |
| 23 | </xsd:complexType> |
| 24 | |
| 25 | </xsd:schema> |
| 26 | |