#230 slides: toc.html is missing DOCTYPE

output: Slides
closed
XSL (399)
5
2005-11-16
2004-11-19
Emma Jane Hogbin
No

With an xhtml/frames.xml transformation the toc.html
file is missing a DOCTYPE. The slides all have XHTML
Transitional, and the frameset has XHTML Frameset
(which are both fine).

Discussion

  • Logged In: YES
    user_id=118135

    Unable to reproduce. Please upload a test document and
    your customization layer (if any). Also, please post a
    description of your toolchain -- in particular, which
    XSLT engine and what version of that engine.

     
  • Logged In: YES
    user_id=118135

    Emma Jane,

    Please upload a test document. I tested with the
    slides/demo/source/slides.xml file and cannot reproduce
    your problem. I get a DOCTYPE in the toc.html
    file as expected.

     
  • Logged In: YES
    user_id=898304

    The slides.xml file in the 3.3.1 DocBook Slides package is
    an article, not a slide show...Please see the attached slide
    show.

     
  • Sample slide show to test the 3.3.1 XSL style sheets for DocBook Slides 4.2

     
    Attachments
  • Logged In: YES
    user_id=898304

    I'm using xsltproc version information is as follows:

    smeagol:~/docbook/slides-3.3.1/xsl/xhtml 00:55:22 $ xsltproc
    --version
    Using libxml 20611, libxslt 10108 and libexslt 806
    xsltproc was compiled against libxml 20609, libxslt 10106
    and libexslt 804
    libxslt 10108 was compiled against libxml 20611
    libexslt 806 was compiled against libxml 20611

    I run the command as follows:
    xsltproc -o slides/
    ~/docbook/slides-3.3.1/xsl/xhtml/frames.xsl slideshow.xml

     
  • Logged In: YES
    user_id=118135

    I can't reproduce the output you're seeing. Tried with
    your test document with xsltproc version as follows:

    msmith@sideshowbarker /sandbox/testdocs
    $ xsltproc --version
    Using libxml 20611, libxslt 10108 and libexslt 806
    xsltproc was compiled against libxml 20611, libxslt
    10108 and libexslt 806
    libxslt 10108 was compiled against libxml 20611
    libexslt 806 was compiled against libxml 20611

    And running same command as you:

    msmith@sideshowbarker /sandbox/testdocs
    $ xsltproc -o tmp/
    /usr/share/xml/docbook/custom/slides/3.3.1/xsl/xhtml/frames.xsl
    sample-slide-show.xml

    And here's what I end up with at the beginning of the
    toc.html file that's generated:

    msmith@sideshowbarker /sandbox/testdocs
    $ cat tmp/toc.html
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><head><meta
    http-equiv="Content-Type" content="text/html;
    charset=UTF-8" /><title>TOC - Delivering
    Presentations</title><link type="text/css"
    rel="stylesheet"

    href="http://docbook.sourceforge.net/release/slides/browser/slides-frames.css"
    ...

     
    • assigned_to: nobody --> xmldoc
     
    • milestone: --> 449106
     
    • status: open --> closed
     
  • Logged In: YES
    user_id=118135

    Unable to reproduce. Please upload a test document and
    your customization layer (if any). Also, please post a
    description of your toolchain -- in particular, which
    XSLT engine and what version of that engine.

     
    • milestone: 449106 -->
    • labels: 340795 --> XSL
    • summary: toc.html is missing DOCTYPE --> Slides: toc.html is missing DOCTYPE
     
    • milestone: --> output: Slides
    • summary: Slides: toc.html is missing DOCTYPE --> slides: toc.html is missing DOCTYPE