I am a uni student and have to create a schema file from an xml file. I cant get my schema to validate against the XML. My Schema is attached.
Firstly, i am getting this error...
E:\My Documents\monash study\fit2028- web systems 2\assignment 1\XMLtemplate\studentresults.xml(0,0): file:///E:/My%20Documents/monash%20study/fit2028-%20web%20systems%202/assignment%201/XMLtemplate/studentschema.xsd#/schema[1]/simpleType[position() = 1 and @name = 'result_type']/attribute[1] Element "xsd:attribute" is not allowed in this context. HRESULT = -2147467259
Before I had that error (i had forgot to add assNo attribute into the Schema, I was getting "tutorialNo" is not defined in the element, but im positive it is, as shown below..
Any one be able to send me in the right direction of what im doing wrong?
Many thanks