Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/HaXml/tests/xml-conformance/ibm/valid/P59/ibm59v02.xml

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


<?xml  version="1.0"?>
<!-- validity test for Production 59-->
<!DOCTYPE test
 [
 <!ELEMENT test ANY>
 <!ELEMENT one EMPTY>
 <!ELEMENT two EMPTY>
 <!ELEMENT num EMPTY>
 <!ATTLIST num value (one|two) #IMPLIED>
 ]>
 <test>
<num value = "one"></num>
This is a Positive test
The attribute values of type Enumeration match one of the Nmtoken tokens in the declaration.
</test>

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].