mixed_ns.xml 313 B

12345678910111213141516
  1. <?xml version="1.0"?>
  2. <!DOCTYPE a [
  3. <!ELEMENT a (#PCDATA|b|s:b)*>
  4. <!ATTLIST a xmlns:s CDATA #IMPLIED>
  5. <!ELEMENT b EMPTY>
  6. <!ATTLIST b xmlns:s CDATA #IMPLIED>
  7. <!ELEMENT s:b EMPTY>
  8. <!ATTLIST s:b xmlns:s CDATA #IMPLIED>
  9. ]>
  10. <a xmlns:s="http://some.test.ns/a">
  11. Some text.
  12. <b/>
  13. Some text.
  14. <s:b/>
  15. Some text.
  16. </a>