create_workbook_from_xml
Builds an Excel workbook from XML matching the embedded schema, writing it to disk. Enables XML-producing pipelines to generate styled Excel reports with tables and charts.
Instructions
Builds a new Excel workbook from XML matching Kookerella.FsOpenXmlDsl's own embedded schema (Xml.xsd) and saves it to disk - the inverse of generate_xml. The natural target for a caller that already produces data as XML (e.g. an XSLT pipeline generating a report) and wants to reach Excel without learning the OOXML schema or this library's own F#/C# API. Covers the same worksheet/workbook-level feature set generate_xml does; unlike create_workbook, this isn't limited to plain cell values - styling, tables, charts, and every other modeled feature can be expressed in the XML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The workbook XML content - a <workbook> root element matching Xml.xsd. | |
| path | Yes | Output file path, e.g. "C:\reports\invoice.xlsx". The directory must already exist. |