diff --git a/Temp/DocbookAssemblies/Topics/parser.xml b/Temp/DocbookAssemblies/Topics/parser.xml new file mode 100644 index 0000000000000000000000000000000000000000..55ba0893f517466c86653315b66ccc8c9e09e9a4 --- /dev/null +++ b/Temp/DocbookAssemblies/Topics/parser.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<topic version="5.1" xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:m="http://www.w3.org/1998/Math/MathML" + xmlns:html="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook"> + <info> + <title>Parsers in computer science</title> + </info> + + <section xml:id="definition"> + <title>Definition</title> + + <para>The process of analysing a string of symbols, either in natural + language or in computer languages, conforming to the rules of a formal + grammar.</para> + </section> +</topic> diff --git a/Temp/DocbookAssemblies/Topics/singleton.xml b/Temp/DocbookAssemblies/Topics/singleton.xml new file mode 100644 index 0000000000000000000000000000000000000000..e9965d912f89de8edaec239c6a2cd9e83ffe81bb --- /dev/null +++ b/Temp/DocbookAssemblies/Topics/singleton.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<topic version="5.1" xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:m="http://www.w3.org/1998/Math/MathML" + xmlns:html="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook"> + <info> + <title>The singleton pattern</title> + </info> + + <section xml:id="definition"> + <title>Definition</title> + + <para>Restrict the instantiation of a class to one object.</para> + </section> +</topic> diff --git a/Temp/DocbookAssemblies/assembly.xml b/Temp/DocbookAssemblies/assembly.xml new file mode 100644 index 0000000000000000000000000000000000000000..17707dac9066bdacdab8f7f97db36bc65515b7bc --- /dev/null +++ b/Temp/DocbookAssemblies/assembly.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<assembly version="5.1" xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:m="http://www.w3.org/1998/Math/MathML" + xmlns:html="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook"> + <info> + <title>Testing assemblies</title> + </info> + + <resources> + <resource href="Topics/singleton.xml" xml:id="topic_Singleton"/> + + <resource href="Topics/parser.xml" xml:id="topic_Parser"/> + </resources> + + <structure> + <module renderas="chapter" resourceref="topic_Parser"> + <module resourceref="topic_Singleton"/> + </module> + </structure> +</assembly>