XmlApi - pdx:rawSearchAndReplace

pdx:rawSearchAndReplace

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

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