3

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

1
  • What version of Delphi do you use? Commented Feb 3, 2010 at 13:40

3 Answers 3

2

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.

Sign up to request clarification or add additional context in comments.

Comments

0

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).

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.