是否对W3C标记验证API一个.NET库的存在吗?标记、存在、W3C、NET

2023-09-03 21:24:58 作者:走,结婚去,我请客

我想验证我的WPF应用程序的用户都将适当的XHTML到它的TextBox控件。

I'd like to validate that users of my WPF application are putting proper XHTML into its TextBox control.

我发现有一个 API 为的 W3C标记验证。

它的网页说:

图书馆建设用于互动   与验证器的API是   鼓励。 …

Building of libraries used to interact with the validator's API is encouraged. …

和它列出了已知的Perl,PHP / PEAR和ColdFusion库。

and it lists known Perl, PHP/PEAR and ColdFusion libraries.

有谁知道为W3C标记验证API一个.NET库?做一件已经存在?

Does anyone know of a .NET library for the W3C Markup Validator API? Does one already exist?

推荐答案

这个API是基于SOAP的。如果你想用它在.NET应用程序,你可以只添加Web引用和code反对。似乎很简单,因为它基本上是一个包含一个方法的API ...

This API is SOAP based. If you want to use it in a .net application you can just add the web reference and code against it. Seems simple enough as it's basically a one-method API...