开发者

How to convert XML to HTML using c# dynamically

开发者 https://www.devze.com 2023-03-04 09:22 出处:网络
H开发者_StackOverflow社区ow to upload XML file and generate Html file without XSLT file using C#... LINQ to XML is one option. See also: Generating HTML using LINQThe question is a little open-ended,

H开发者_StackOverflow社区ow to upload XML file and generate Html file without XSLT file using C#...


LINQ to XML is one option. See also: Generating HTML using LINQ


The question is a little open-ended, but you might consider just writing a program that:

  1. Deserializes the XML.
  2. Having read in the XML, format the text.
  3. Output the text using the standard in/out libraries in C#.

I don't know if this is the most efficient solution -- but I think it would work.

0

精彩评论

暂无评论...
验证码 换一张
取 消