1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-28 23:14:57 +03:00
Files
libxml2/test/XInclude/docs/docids.xml
Daniel Veillard c5f05ada40 fix #68882, cleanup the XInclude copying of node, merge back IDs in the
* tree.c valid.c xinclude.c: fix #68882, cleanup the XInclude
  copying of node, merge back IDs in the target document.
* result/XInclude/docids.xml test/XInclude/docs/docids.xml
  test/XInclude/ents/ids.xml: test case
* result/VC/ElementValid4: output changed due to a typo fix
Daniel
2002-02-10 11:57:22 +00:00

16 lines
332 B
XML

<!DOCTYPE book [
<!ELEMENT book (doc*)>
<!ELEMENT doc (isid*)>
<!ELEMENT isid EMPTY>
<!ATTLIST isid myid ID #IMPLIED>
]>
<book>
<doc>
<isid myid="mine"/>
<isid myid="dup"/>
</doc>
<!-- including another XML document with IDs -->
<xinclude:include xmlns:xinclude="http://www.w3.org/2001/XInclude"
href="../ents/ids.xml"/>
</book>