XML API - pdx:splitDocx

pdx:splitDocx

Splits a Word document per section.

Note

You are reading the XML API documentation. For the PHP API method please go to splitDocx.

Description

Element definition

This element allows you to split per section a Word document.

Attributes and sub-elements

src

Path to the Word document.

target

Path to the resulting split documents.

options

The possible keys and values are (required options are shown with yellow background):

Key Description
keepSections Preserve or not the original sections of the source document. If false uses the first section for all documents. Default as true.
section Sections to be split, all by default.
Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code