开发者

When we use the XMl [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

When we use the XMl What user cases.

For example, c开发者_如何学运维an work perfectly with the XMl instead of used DataBase

What is the difference between XMl and XMLSchema.xsd and XSLTFile.xslt asp.net


You'd use XML when your data has a hierarchical, tree-like nature, esp. if it is recursively structured, or if it is semi-structured (formal structure and plaintext interleaved). Relational databases are capable of handling both of these cases, but they just don't fit the model as well.


When the webpage owner doesn't have a DB. For example a .NET provider like Brinkster charges a lot of money extra for MS SQL (although MySQL is included). There are blog systems that use no database and use XML instead such as: http://www.dotnetblogengine.net/

You will use some features that a database offers. Personally, I save XML for sending messages and for configuration but everything with substance belongs in the database.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜