Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9144133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:11:42+00:00 2026-06-17T10:11:42+00:00

A libreoffice document is a zip file containing (among other thing) some XML files.

  • 0

A libreoffice document is a zip file containing (among other thing) some XML files.

s$ unzip -t test.odp
Archive:  test.odp
    testing: mimetype                 OK
    testing: Configurations2/statusbar/   OK
    testing: Configurations2/accelerator/current.xml   OK
    testing: Configurations2/floater/   OK
    testing: Configurations2/popupmenu/   OK
    testing: Configurations2/progressbar/   OK
    testing: Configurations2/menubar/   OK
    testing: Configurations2/toolbar/   OK
    testing: Configurations2/images/Bitmaps/   OK
    testing: content.xml              OK
    testing: styles.xml               OK
    testing: meta.xml                 OK
    testing: settings.xml             OK
    testing: META-INF/manifest.xml    OK
No errors detected in compressed data of test.odp.

I would like to dynamically generate an ODP slideshow using XSLT (and the xsltproc + the element <xsl:document/> ) from a xml file that could look like this:

<slideshow>

  <slide>
    <title>Slide 1</title>
    <content>blablablablablablablabal</content>
  </slide>
  <!-- (....) --->
  <slide>
    <title>Slide N</title>
    <content>blablablablablablablabal</content>
  </slide>
</slidesho>

Is there any existing XSLT stylesheet for this ?

The file content.xml is complicated, what would be the minimal content for an odp, a HelloWorld.odp, that could work ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:11:43+00:00Added an answer on June 17, 2026 at 10:11 am

    A minimial valid presentation file looks like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0">
      <office:body>
        <office:presentation/>
      </office:body>
    </office:document-content>
    

    A simple file with some basic content would be this:

    <?xml version="1.0" encoding="UTF-8"?>
    <office:document-content office:version="1.2"
        xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
        xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
        xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
        xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
        xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0">
      <office:body>
        <office:presentation>
          <draw:page draw:master-page-name="">
            <draw:frame presentation:style-name="" svg:width="25.199cm"
              svg:height="3.506cm" svg:x="1.4cm" svg:y="0.837cm" presentation:class="title">
              <draw:text-box>
                <text:p>Title</text:p>
              </draw:text-box>
            </draw:frame>
            <draw:frame presentation:style-name="" svg:width="24.639cm"
              svg:height="12.178cm" svg:x="1.4cm" svg:y="4.914cm" presentation:class="subtitle">
              <draw:text-box>
                <text:p>My Text</text:p>
              </draw:text-box>
            </draw:frame>
          </draw:page>
        </office:presentation>
      </office:body>
    </office:document-content>
    

    I’d suggest getting an XML editor like oXygen that supports ODF to play with this. Having the specifications and RNG for the ODF version that you want to use might help, too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using libreoffice/openoffice as a headless process to handle some document conversion tasks on
I'm trying to create a PDF document with Apache FOP from an xml file
I am trying to insert page numbers for a document written with LibreOffice. Everything
I'm trying to create a CSV file (Excel or LibreOffice) which contains a formula
I'm using odt file as some kind of template and Libre Office as tool
I am unable to index contents of LibreOffice files. Files such as .odt files
I have a LibreOffice spreadsheet (data.ods) containing approximately 500 rows of comma separated values
I am trying to run LibreOffice's examples in a small Maven project. Netbeans does
I have a problem when opening a HTML table in OpenOffice or LibreOffice if
The problem is as follows: I'm writing a brute-force decrypter to crack some supersecret

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.