Main Content

patchdemoxmlfile

Patch demos.xml file

Since R2021a

    Description

    example

    patchdemoxmlfile docLocation patches the demos.xml file in the specified folder, replacing character data in the description with non-character data. patchdemoxmlfile replaces the characters &lt;, &gt;, &apos;, &quot;, and &amp; with <, >, '', ", and &, respectively.

    If a demos.xml file contains character data, the description does not appear correctly in the Help browser.

    Examples

    collapse all

    Patch the demos.xml file in the folder D:\Work\mytoolbox\help.

    patchdemoxmlfile D:\Work\mytoolbox\help

    Input Arguments

    collapse all

    Custom documentation folder location, specified as a character vector or string scalar.

    Version History

    Introduced in R2021a