Publishing PageSeeder data to print, the Web or both

Microsoft Word Default docx import config – example

Below is the default config file for the Word import. It can be used as a starting point for customizing the import process. For further information, see Import Config documentation.

<?xml version="1.0"?>

<!-- This configuration transforms DocX into PSML -->

<config version="0.5.1">
  <!-- =======================SPLIT PROPERTIES======================= -->
    <document select="true">
      <!--<sectionbreak select="continuous" />
       Values accepted: continuous,evenPage,oddPage,  -->
      <outlinelevel select="0" />
      <outlinelevel select="1" />
      <!-- Values accepted: outlineLevel[0-5], -->
      <wordstyle  select="Heading1" >
      <wordstyle  select="Heading2" >
        <level value="1"/>
      <!-- Values accepted: name of style available in word file, -->
    <section select="true">
      <!--<sectionbreak select="continuous|evenPage" />
       Values accepted: continuous, evenPage, oddPage,  -->
      <outlinelevel select="0" />
      <outlinelevel select="1" />
      <outlinelevel select="2" />
      <outlinelevel select="3" />
      <wordstyle  select="Heading1" />
      <wordstyle  select="Heading2" />
      <wordstyle  select="Heading3" />
      <wordstyle  select="Heading4" />
      <!-- Values accepted: outlineLevel[0-5],  -->
      <!-- Values accepted: name of style available in word file,  -->

  <!--  <toc convert="false" /> Values accepted: true() or false() -->

    <add-numbering-to-document-titles select="true"/>
    <convert-to-list-roles select="false"/>
    <!-- generate numbered attribute to paragraphs for lists -->
    <convert-to-numbered-paragraphs select="false">
      <level value="1" output="prefix"/>
      <!-- prefix or numbering or inline=[label] or text -->
      <level value="2" output="prefix"/>
      <level value="3" output="prefix"/>
      <level value="4" output="prefix"/>
      <level value="5" output="prefix"/>
      <level value="6" output="prefix"/>
    <!-- generate numbered paragraphs for document titles -->

    <!-- adds an inline label around the true number of each numbered paragraph ( in the future will be set to prefix...) -->

    <convert-manual-numbering select="false">

  <!-- =======================STYLE PROPERTIES======================= -->

  <!-- Values accepted: name of style available in word file -->
      <wordstyle value="TOC1" />
      <wordstyle value="TOC2" />
      <wordstyle value="TOC3" />
      <wordstyle value="TOC4" />
      <wordstyle value="TOC5" />
      <wordstyle value="TOC6" />
      <wordstyle value="TOC7" />
      <wordstyle value="TOC8" />
      <wordstyle value="TOC9" />
      <paragraphStyles value="block" />
      <!-- possible values: 'para' or 'block' -->
      <characterStyles value="inline" />
      <!-- possible values: 'none' or 'inline' -->
      <smart-tag keep="true" />
      <!--  <property name="prefix" value="true" /> possible values: 'false' or 'true' -->

<!--     <wordstyle name="Title" psmlelement="title"/> -->

    <!-- Values accepted: name of style available in word file -->
    <wordstyle name="Heading1" psmlelement="heading">
      <level value="1" />

    <wordstyle name="Heading2" psmlelement="heading">
      <level value="2" />

    <wordstyle name="Heading3" psmlelement="heading">
      <level value="3" />

    <wordstyle name="Heading4" psmlelement="heading">
      <level value="4" />

    <wordstyle name="Heading5" psmlelement="heading">
      <level value="5" />

    <wordstyle name="Heading6" psmlelement="heading">
      <level value="6" />
    <wordstyle name="BodyText" psmlelement="para"/>


Created on , last edited on