Arbortext Command Language > Functions by Alphabetical Listing > stylesheet_export_xsl
  
stylesheet_export_xsl
stylesheet_export_xsl([path[, doc[, target]]])
This function exports the current editor Arbortext Styler stylesheet (.style) for doc as an XSL stylesheet to the path specified by path. The stylesheet_export_xsl function is only valid when the stylesheet for doc is a Arbortext Styler stylesheet. If doc is not supplied, it defaults to current_doc. If path is not specified, a dialog box is launched to let the user specify the path.
The target parameter must be on the following types:
fo — Exports an XSL-FO stylesheet for creating print or PDF output.
html — Exports an XSL stylesheet for creating HTML output.
htmlhelp — Exports an XSL stylesheet for creating HTML Help output using the Arbortext EditorPublish > For HTML Help capability.
web — Exports an XSL stylesheet for creating web output using the Arbortext EditorPublish > For Web capability.
If target is not specified, html is assumed.
The function returns 1 if the stylesheet was successfully exported, 0 if there was an error.