User`s guide
11 Functions – Alphabetical List
11-102
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:
• ...=rptconvert(...,'-view') displays the converted document.
• ...=rptconvert(...,'-quiet') suppresses status messages.
• ...=rptconvert(...,'-verbose') shows detailed status messages.
• sheetlist = rptconvert('-stylesheetlist') returns a two-column cell array.
The first column of this array includes valid stylesheet identifiers. The second column
includes descriptions of each stylesheet.
• sheetlist = rptconvert('-stylesheetlist',format) returns an array like
that returned by sheetlist = rptconvert('-stylesheetlist'). The first
column of this array includes stylesheet identifiers for the specified format.
• FORMATLIST = rptconvert('-formatlist') returns a two-column cell array.
The first column of this array includes valid format values, the second column
includes descriptions of each format.
Examples
Retrieve a list of available HTML stylesheets:
rptconvert('-stylesheetlist','html')
More About
• “Convert XML Documents to Different File Formats”
See Also
setedit | report | rptlist | compwiz