| <?xml version="1.0"?> |
| <!DOCTYPE persistence [ |
| <!ELEMENT persistence (xi:include)*> |
| <!ELEMENT persistence (<error>xi:include2</error>)*> |
| <!ATTLIST persistence |
| xmlns CDATA #REQUIRED |
| xmlns:xsi CDATA #REQUIRED |
| xmlns:xi CDATA #REQUIRED |
| xsi:schemaLocation CDATA #REQUIRED> |
| <!ELEMENT xi:include (#PCDATA)> |
| <!ATTLIST xi:include |
| href CDATA #REQUIRED> |
| ]> |
| <persistence xmlns="http://example.com/persistence" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:xi="http://www.w3.org/2001/XInclude" |
| xsi:schemaLocation="http://example.com/persistence XIncludeTestSchema.xsd |
| http://www.w3.org/2001/XInclude http://www.w3.org/2001/XInclude.xsd"> |
| <xi:include href="<error>sample-inc.xml</error>"/> |
| </persistence> |