开发者

How to validate XML with XSD in Delphi without using MSXML?

How do you validate XML with XSD in Delphi without using MSXML? I开发者_如何学C am limited to MSXML3 which can't do XSD. Googling gave me little to nothing at all. Please help me, thanks.


I'm afraid there is no non-MSXML XML library supporting XSD.

But there are some, which support DTD (e.g. Open XML). Maybe you can rewrite your schema to DTD, even if DTD is less powerful.


Are you using SQL Server by any chance? If so you could do through it.

Other than that you could use third party, free tools (like saxon).

I have never used/needed Delphi's one, but so, I suppose you've seen: C:\Program Files\CodeGear\RAD Studio\5.0\source\Win32\xml ? (Obviously the path will likely be different as mine is Delphi 2007).


If .Net is installed you could use the .Net XML library.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜