Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/libraries/HaXml/tests/9x9/xmlNamespace08.xml

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


<!DOCTYPE doc [
<!ELEMENT doc (#PCDATA)>
<!ENTITY egbase "http://id.example.org/">
<!ENTITY egns   "http://id.example.org/namespace">
<!ENTITY egns1  "&egbase;namespace">
<!ATTLIST doc eg:a1 CDATA "v1">
<!ATTLIST doc eg:a2 CDATA "v2">
]>

<!-- Namespace08.xml: inner override -->
<eg:doc xmlns:eg="&egbase;namespace">
  <eg:inner xmlns:eg="&egbase;ns1" eg:a2="a2">
    <eg:deeper xmlns:eg="&egbase;ns2" eg:a3="a3" />
  </eg:inner>
</eg:doc>

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].