在云中将 FODS 转换为 XML

Excel & 使用开源 Cloud SDK for .NET 的 OpenOffice 电子表格转换

.NET 应用程序中的 FODS 到 XML 转换

  1. 创建一个帐户仪表板获得免费的 API 配额和授权详细信息
  2. 使用客户端 ID、客户端密码、基本 URL 和 API 版本初始化 CellsApi
  3. 使用 CellsApi.Upload 方法将 FODS 文件上传到默认云存储
  4. 调用CellsApi.CellsSaveAsPostDocumentSaveAs方法获取生成的XML文件

开始使用 Excel REST API

获取Excel Cloud SDK for .NET源码GitHub自己编译 SDK 或前往发布替代下载选项。

也可以看看基于 Swagger 的API 参考了解更多Excel 休息 API.

C# .NET FODS 到 XML 转换代码

// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/
CellsApi instance = new CellsApi(clientId, clientSecret, apiVersion, baseurl);
string name = BOOK1;
SaveOptions saveOptions = new SaveOptions();
saveOptions.SaveFormat = "xml";
instance.UploadFile(folder + @"\" + name, File.Open( @"C:\TestData\" +name), "DropBox");
var response = instance.CellsSaveAsPostDocumentSaveAs(name, saveOptions,  "output.xml", null, null, folder, "DropBox");

FAQ

  • How can I get started with Aspose.Cells REST APIs?
    Quickstart not only guides through the initialization of Aspose.cells Cloud API, it also helps in installing the required libraries.
  • Where can I see the release notes for Aspose.Cells Cloud API?
    Complete release notes can be reviewed at Aspose.Cells Cloud Documentation.
  • Is it safe to convert FODS to XML in the Cloud?
    Of course! Aspose Cloud uses Amazon EC2 cloud servers that guarantee the security and resilience of the service. Please read more about Aspose's Security Practices.
  • What file formats are supported by Aspose.Cells Cloud API?
    Aspose.Cells Cloud can convert FODS to MD, TIFF, XLSM, XLSB, DIF, XLT, XLTX, TSV, XLSX, TXT, FODS, XML, HTML, XLTM, CSV, PDF and more. Checkout the complete list of supported file formats.
  • I can not find the SDK for my favorite language. What should I do?
    Aspose.Cells Cloud is also available as a Docker Container. Try using it with cURL in case your required SDK is not available yet.
  • I do not have time to set up. Is there a quick demo for FODS to XML that I can try?
    Indeed! Checkout the FODS to XML Conversion App.

Other Conversion Options

Convert FODS TO MD (Markdown Language)
Convert FODS TO TIFF (Tagged Image File Format)
Convert FODS TO XLSM (Macro-enabled Spreadsheet)
Convert FODS TO XLSB (Excel Binary Workbook)
Convert FODS TO DIF (Data Interchange Format)
Convert FODS TO XLT (Excel 97 - 2003 Template)
Convert FODS TO XLTX (Excel Template)
Convert FODS TO TSV (Tab Seperated Values)
Convert FODS TO XLSX (Open XML Workbook)
Convert FODS TO TXT (Text Document)
Convert FODS TO FODS (OpenDocument Flat XML Spreadsheet)
Convert FODS TO HTML (Hyper Text Markup Language)
Convert FODS TO XLTM (Excel Macro-Enabled Template)
Convert FODS TO CSV (Comma Seperated Values)
Convert FODS TO PDF (Portable Document Format)

FODS What is FODS File Format?

A file with .fods extension is a type of OpenDocument Spreadsheet document format that stores data in rows and columns. The format is specified as part of ODF 1.2 specifications published and maintained by OASIS. FODS files cannot be opened with Excel, another Spreadsheet software application by Microsoft. FODS files can be saved as ODS using LibreOffice and can be converted to other formats such as XLS and XLSX.

Read More

XML What is XML File Format?

XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. The whole idea behind creation of XML file format was to store and transport data without being dependent on software or hardware tools. Its popularity is due to it being both human as well as machine readable. This enables it to create common data protocols in the form of objects to be stored and shared over network such as World Wide Web (WWW). The “X” in XML is for extensible which implies that the language can be extended to any number of symbols as per user requirements. It is for these features that many standard file formats make use of it such as Microsoft Open XML, LibreOffice OpenDocument, XHTML and SVG.

Read More