schema XSD in XML

forum.advanced.programming (1998-2005)
Enrico

schema XSD in XML

Post by Enrico » 04 Dec 2004, 19:56

 Posted by:  Enrico 

How I can use in Centura a file XSD to validate my file XML?

Thanks

StefanM
Germany
Posts: 674
Joined: 10 Aug 2018, 15:57
Location: Bavaria

schema XSD in XML

Post by StefanM » 05 Dec 2004, 10:13

 Posted by:  Stefan Misch 

Enrico,

one way would be to use the MSXML Parser as ActiveX-control (guess you that
already). There you have all XML-related functions to load, parse and
validate your XML. To get you started please see the following link (with a
JScript sample, VB sample also available, just change "..JScript.asp" to
"..VB.asp" in the link below):

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/XSD_HDI_Validate_Example3_JScript.asp

Note that TD's COM-implementation does not allow you to use certain
functions and COM-Objects from MSXML (i.e. all SAX-related stuff, streams).

HTH,
Stefan

Return to “advanced.programming”

Who is online

Users browsing this forum: [Ccbot] and 0 guests