XML API - pdx:removeSection

pdx:removeSection

Removes a section and its contents.

Note

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

Description

Element definition

This element allows you to remove a section and its contents in a Word document.

Attributes and sub-elements

src

Path to the Word document.

target

Path to the resulting document.

section

Section number to be removed: 1, 2...

keepSections

Preserve or not the original sections of the splitted document. If false uses the first section for all documents. Default as true.

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code