|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] support for schemas on ie
hi
i posted a mail a while ago about validating xml schemas. From the code i
have seen it seems okay to me, but when i try to validate it just displays
the code of the xml document in the brower instaed of the html.
part of my xml code :'
<transactions xmlns="http://www.nhl.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation='trans.xsd'>
<details>
<date>12/03/2001</date>
<merchant valid="yes">sun</merchant>
<website>www.sun.com</website>
<amount currency="p">9.00</amount>
<quantity>3</quantity>
<products>
<item>router,</item>
<item>switch,</item>
<item>server,</item>
</products>
<email>andrew.howard@n...</email>
</details>
</transactions>
and my schema code:'
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="transactions">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="details">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="date" type="xsd:string"/>
<xsd:element name="merchant" type="xsd:string"/>
<xsd:element name="website" type="xsd:string"/>
<xsd:element name="amount" type="xsd:int"/>'
is there anything that i am missing in my code, as it seems okay to me.
I am using IE6 with MSXML 3, this should be able to display schemas
shouldn't it?
i am not to sure on how well schemas are supported at the moment
thanks
Ian
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








