如何在c#中将xml文件转换为html文件 [英] how to convert xml file to html file in c#

查看:624
本文介绍了如何在c#中将xml文件转换为html文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何将xml文件转换为c#中的html文件?

Hi All,
how to convert xml file to html file in c#?

推荐答案

正如评论部分XSL和XSLT是要走的路。



这是一个很好的起点 W3Schools:XSLT教程 [ ^ ]

As suggested in the comment section XSL and XSLT is the way to go.

This is a good place to start W3Schools: XSLT Tutorial[^]
Quote:

XSL代表可扩展样式表语言,是XML文档的样式表语言。



XSLT代表XSL转换。在本教程中,您将学习如何使用XSLT将XML文档转换为其他格式,如XHTML。

XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents.

XSLT stands for XSL Transformations. In this tutorial you will learn how to use XSLT to transform XML documents into other formats, like XHTML.





这些链接显示了如何在c#中执行此操作代码

XSLT转换 [< a href =https://msdn.microsoft.com/en-us/library/14689742(v=vs.110).aspx\"target =_ blanktitle =New Window> ^ ]

如何:使用以下方法执行XSLT转换大会 [ ^ ]


请参阅 -

如何将XML文件转换为HTML [ ^ ]



-KR
Refer this-
How to Convert XML Files to HTML[^]

-KR


这篇关于如何在c#中将xml文件转换为html文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆