From: Oleg T. <he...@us...> - 2005-10-28 22:29:23
|
Update of /cvsroot/mvp-xml/XInclude/v2/test/XInclude-Test-Suite/EdUni/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20225/v2/test/XInclude-Test-Suite/EdUni/test Added Files: book.xml chap1.xml chap2.xml extract.xml lang-samples.xml lang.xml Log Message: --- NEW FILE: lang.xml --- <sentences xmlns:xi="http://www.w3.org/2001/XInclude"> <sentence>The cat sat on the mat.</sentence> <sentence xml:lang="en-gb">Jackdaws love my big sphinx of quartz.</sentence> <xi:include href="lang-samples.xml" xpointer="none"/> <xi:include href="lang-samples.xml" xpointer="none2"/> <xi:include href="lang-samples.xml" xpointer="english"/> <xi:include href="lang-samples.xml" xpointer="english2"/> <xi:include href="lang-samples.xml" xpointer="french"/> <xi:include href="lang-samples.xml" xpointer="german"/> <xi:include href="lang-samples.xml" xpointer="australian"/> <sentences xml:lang="en-gb"> <xi:include href="lang-samples.xml" xpointer="none"/> <xi:include href="lang-samples.xml" xpointer="none2"/> <xi:include href="lang-samples.xml" xpointer="english"/> <xi:include href="lang-samples.xml" xpointer="english2"/> <xi:include href="lang-samples.xml" xpointer="french"/> <xi:include href="lang-samples.xml" xpointer="german"/> <xi:include href="lang-samples.xml" xpointer="australian"/> </sentences> </sentences> --- NEW FILE: lang-samples.xml --- <!DOCTYPE sentences [ <!ELEMENT sentence (#PCDATA)> <!ATTLIST sentence id ID #IMPLIED> ]> <sentences> <sentence id="none">Hi.</sentence> <sentence id="english" xml:lang="en-gb">Hello.</sentence> <sentence id="french" xml:lang="fr">Bonjour.</sentence> <sentences xml:lang="en-gb"> <sentence id="english2">Hello.</sentence> </sentences> <sentences xml:lang="de"> <sentence id="german">Guten Tag.</sentence> <sentences xml:lang="en-au"> <sentence id="australian">G'day mate.</sentence> </sentences> <sentences xml:lang=""> <sentence id="none2">Yo..</sentence> </sentences> </sentences> </sentences> --- NEW FILE: chap2.xml --- <!DOCTYPE chapter [ <!ELEMENT chapter (#PCDATA)> <!ATTLIST chapter id ID #IMPLIED> ]> <chapter id="chap2"> And the all lived happily ever after. </chapter> --- NEW FILE: extract.xml --- <!DOCTYPE extract [ <!ELEMENT include (#PCDATA)> <!ATTLIST include xmlns CDATA #FIXED "http://www.w3.org/2001/XInclude"> ]> <extract> <include href="book.xml" xpointer="intro"/> <include href="book.xml" xpointer="chap1"/> </extract> --- NEW FILE: chap1.xml --- <!DOCTYPE chapter [ <!ELEMENT chapter (#PCDATA)> <!ATTLIST chapter id ID #IMPLIED> ]> <chapter id="chap1"> It was a dark and stormy night. </chapter> --- NEW FILE: book.xml --- <!DOCTYPE book [ <!ELEMENT intro (#PCDATA)> <!ELEMENT include (#PCDATA)> <!ATTLIST intro id ID #IMPLIED> <!ATTLIST include xmlns CDATA #FIXED "http://www.w3.org/2001/XInclude"> <!ELEMENT chapter (#PCDATA)> <!ATTLIST chapter id ID #IMPLIED> ]> <book> <intro id="intro"> You will enjoy this book. </intro> <include href="chap1.xml"/> <include href="chap2.xml"/> </book> |