C# .xml to .xlsx how?

前端 未结 4 1755
甜味超标
甜味超标 2020-12-19 06:46

I want to convert a complete XML file to XLSX but I\'m not sure how I can do it. I searched at Google for a Solutions but the most time I only find the way into the other di

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-19 07:26

    You will need to read the schema for the XLSX file format and write an XSLT file to transform your custom XML file.

    .NET has very good XML support so something like this should be fairly trivial, it will be actual mapping from your XML format to XSLT where the real effort is needed.

提交回复
热议问题