XML API - pdx:rawSearchAndReplace

pdx:rawSearchAndReplace

Searches and replaces texts in any XML file of the document.

Note

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

Description

Element definition

Attributes and sub-elements

src

Source DOCX.

target

The destination path of the new file.

searchTerm

String to replace.

replaceTerm

New string.

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code