- From: Lambrechts tom <tom.lambrechts@ebitec.com>
- Date: Mon, 2 Dec 2002 10:34:01 +0100
- To: <xmlschema-dev@w3c.org>
- Message-ID: <NEELIOFGOLFKCPBKIKLKMEDGCDAA.tom.lambrechts@ebitec.com>
I want to include the xsd scheme of my xml in the document itself, like in the ado xml-recordset. (ex: http://www.vbxml.com/xsl/articles/xsl_ado/) In xml spy it doesn’t validate, the error is that he can't find the scheme. Is there something wrong with my XML, or is it just xml spy? I have the same problem with including xslt in xml , it has something to do that I have to include the following dtd??? <!DOCTYPE doc [<!ATTLIST xsl:stylesheet id ID #REQUIRED >]> This is my document: <xml xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="#CMODataSchema"> <xsd:schema id="CMODataSchema"> <xsd:element name="myComposite"> <xsd:complexType mixed="true"> <xsd:sequence> <xsd:element name="myDouble" type="xsd:double"/> <xsd:element name="myFloat" type="xsd:float"/> <xsd:element name="myString" type="xsd:string"/> <xsd:element name="subComposite"> <xsd:complexType mixed="true"> <xsd:sequence> <xsd:element name="myDate" type="xsd:date"/> <xsd:element name="myFloat" type="xsd:float"/> <xsd:element name="myString" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> <myComposite> <myDouble>45454.444</myDouble> <myFloat>5.4454546E16</myFloat> <myString>Ikke</myString> <subComposite> <myDate>2002-01-01</myDate> <myFloat>5.4454546E16</myFloat> <myString>Ikke</myString> </subComposite> </myComposite> </xml>
Received on Monday, 2 December 2002 04:33:51 UTC