diff --git a/tk-div.xslt b/tk-div.xslt deleted file mode 100644 index 022a80c..0000000 --- a/tk-div.xslt +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - - - -

- -

- -
- - -
- -
-
- - -
-

- -

- -
-
- - -
- -
-
- - -
- -
-
- - -
- -
-
- - -
- -
-
- - -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- - -

- -

-
- - -
    - -
-
- - -
  • - -
  • -
    - - - - Commissievergadering - Plenaire vergadering - Vergadering - - ; - - - - - - -
    \ No newline at end of file diff --git a/tk.xslt b/tk.xslt index 992a0d6..1868a06 100644 --- a/tk.xslt +++ b/tk.xslt @@ -3,6 +3,8 @@ xmlns:vv="http://www.tweedekamer.nl/ggm/vergaderverslag/v1.0" exclude-result-prefixes="vv" > + + - - - - <xsl:apply-templates select="*" mode="title" /> - - - - - -
    - -
    - - + + + + + + + + + <xsl:apply-templates select="*" mode="title" /> + + + + + +
    + +
    + + +
    +
    diff --git a/tkserv.cc b/tkserv.cc index b5872ad..04069a5 100644 --- a/tkserv.cc +++ b/tkserv.cc @@ -171,7 +171,7 @@ static string getHtmlForDocument(const std::string& id, bool bare=false) command = fmt::format("echo '
    ' ; catdoc < '{}'; echo '
    '", fname); else if(isXML(fname)) - command = fmt::format("xmlstarlet tr tk-div.xslt < '{}'", + command = fmt::format("xmlstarlet tr tk.xslt < '{}'", fname); else command = fmt::format("pdftohtml {} {} -dataurls -stdout", bare ? "": "-s", fname);