C
cyberleo80
hi...
as in object...
i tring to validate an xml doc at runtime with this code:
set objXMLSchema = Server.CreateObject ("Msxml2.DOMDocument.4.0")
objXMLSchema.async = false
objXMLSchema.validateOnParse = true
objXMLSchema.load Server.MapPath(".") & "schemas\Schema.xsd"
set objXMLSchemaCache =
Server.CreateObject("Msxml2.XMLSchemaCache.4.0")
objXMLSchemaCache.add "", objXMLSchema
objXMLDocument.async = false
objXMLDocument.validateOnParse = true
set objXMLDocument.schemas = objXMLSchemaCache
objXMLDocument.load( Request )
set myerr = objXMLDocument.validate()
but the validity is not verified....
can somebody help me?
as in object...
i tring to validate an xml doc at runtime with this code:
set objXMLSchema = Server.CreateObject ("Msxml2.DOMDocument.4.0")
objXMLSchema.async = false
objXMLSchema.validateOnParse = true
objXMLSchema.load Server.MapPath(".") & "schemas\Schema.xsd"
set objXMLSchemaCache =
Server.CreateObject("Msxml2.XMLSchemaCache.4.0")
objXMLSchemaCache.add "", objXMLSchema
objXMLDocument.async = false
objXMLDocument.validateOnParse = true
set objXMLDocument.schemas = objXMLSchemaCache
objXMLDocument.load( Request )
set myerr = objXMLDocument.validate()
but the validity is not verified....
can somebody help me?