Skip to content
Snippets Groups Projects
Commit aaabb49d authored by Goik Martin's avatar Goik Martin
Browse files

Forum attempt

parent a1f30f29
No related branches found
No related tags found
No related merge requests found
Makefile
<?xml version="1.0" encoding="UTF-8"?>
<book version="5.1" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xila="http://www.w3.org/2001/XInclude/local-attributes"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:trans="http://docbook.org/ns/transclusion"
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/>
<author>
<personname><firstname/><surname/></personname>
<affiliation>
<orgname/>
</affiliation>
</author>
<pubdate/>
</info>
<part xml:id="sd1">
<title>Software development 1</title>
<chapter annotations="slide" xml:id="sd1_chap_intro">
<title>Introduction</title>
<figure xml:id="sd1_fig_items">
<title>Some items</title>
<itemizedlist>
<listitem>
<para>one</para>
</listitem>
<listitem>
<para>two</para>
</listitem>
</itemizedlist>
</figure>
<section xml:id="sd1_sect_onlyForTestNesting">
<title>Nesting test</title>
<qandaset defaultlabel="qanda" xml:id="sda1_qanda_yetAnotherQuestion">
<title>Yet another question</title>
<qandadiv>
<qandaentry>
<question>
<para>A different Question</para>
</question>
</qandaentry>
</qandadiv>
</qandaset>
</section>
</chapter>
</part>
<part xml:id="sda1">
<title>Software development 1</title>
<chapter xml:id="sda1_chap_intro">
<title>Introduction</title>
<qandaset defaultlabel="qanda" xml:id="sda1_qanda_firstQuestion">
<title>First question</title>
<qandadiv>
<qandaentry>
<question>
<para>A simple Question</para>
</question>
</qandaentry>
</qandadiv>
</qandaset>
</chapter>
</part>
</book>
dependency-reduced-pom.xml
.idea/
id2topic.iml
topics.xml
......@@ -16,10 +16,32 @@
<xsl:template match="/">
<map prefix="goiklecture">
<xsl:apply-templates select=".//d:qandaset"/>
<xsl:apply-templates select="d:book/d:part[@xml:id='sd1']//(d:qandaset|d:figure)"/>
</map>
</xsl:template>
<xsl:template match="d:figure">
<entry >
<xsl:attribute name="id">
<xsl:value-of select="@xml:id"/>
</xsl:attribute>
<title>
<xsl:text>Slide "</xsl:text>
<xsl:value-of select="d:title"/>
<xsl:text>"</xsl:text>
</title>
<content>
<xsl:text>Discussing [Slide "</xsl:text>
<xsl:value-of select="d:title"/>
<xsl:text>"](https://freedocs.mi.hdm-stuttgart.de/</xsl:text>
<xsl:call-template name="href.target.uri"/>
<xsl:text>)</xsl:text>
</content>
</entry>
</xsl:template>
<xsl:template match="d:qandaset">
<entry >
......@@ -42,7 +64,7 @@
<xsl:call-template name="href.target.uri"/>
<xsl:text>)</xsl:text>
</content>
</entry>
</xsl:template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment