Skip to Main Content Skip to Search
Product Documentation

rptconvert - Convert DocBook XML files into supported document formats

Syntax

rptconvert
rptname = rptconvert (source)
rptname = rptconvert (source, format)
rptname = rptconvert (source, format, stylesheet)
...=rptconvert(...,'-view')
...=rptconvert(...,'-quiet')
...=rptconvert(...,'-verbose')
sheetlist = rptconvert('-stylesheetlist')
sheetlist = rptconvert('-stylesheetlist',format)
FORMATLIST = rptconvert('-formatlist')

Description

This function converts a DocBook XML source file created by the report-generation process to a supported document format. For information about supported output formats, see Supported Report Formats.

rptconvert with no input arguments launches the converter GUI. When input arguments are passed to this function, rptconvert converts the XML document to the specified format and displays status messages to the MATLAB Command Window.

In the following commands:

source is the name of the DocBook XML file created by the report-generation process. You can specify this file name with or without its file extension.

format is a unique identifier code for each output format type. If you omit this argument, the XML file is converted to HTML format by default.

stylesheet is a unique identifier for a given stylesheet. If you omit this argument, the default stylesheet for the selected format is used.

You can also pass the following flags to the input arguments:

Examples

Retrieve a list of available HTML stylesheets:

rptconvert('-stylesheetlist','html') 

How To

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS