Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML link to XSD

From: dirc@-----.--.-- (-------)
To: NULL
Date: 9/1/2004 8:41:00 AM
In the element with your namespace declaration add the
xsi:SchemaLocation attribute.
<cbr:CollaboratorData
xmlns:cbr="http://www.eqos.com/collaborator/data/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     
xsi:schemaLocation="http://www.eqos.com/collaborator/data/
CollaboratorData.xsd">

"Neil Mowforth" <neilmowforth@h...> wrote in message news:<uJ3Xc.3783$Jg7.1910@n...>...
> Not sure why outlook blocked the xsd document but here is the copied version
> of it...
> 
> <?xml version="1.0" encoding="utf-8" standalone="yes"?>
> 
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 
> <xsd:annotation>
> 
> <xsd:documentation>
> 
> Simpsons XML schema.
> 
> </xsd:documentation>
> 
> </xsd:annotation>
> 
> 
> 
> <xsd:element name="document" type="documentType"/>
> 
> <xsd:complexType name="documentType">
> 
> <xsd:sequence>
> 
> <xsd:element name="season" type="seasonType"/>
> 
> </xsd:sequence>
> 
> <xsd:attribute name="value" type="xsd:int" use="required"/>
> 
> </xsd:complexType>
> 
> <xsd:complexType name="seasonType">
> 
> <xsd:sequence>
> 
> <xsd:element name="episode" type="episodeType"/>
> 
> </xsd:sequence>
> 
> <xsd:attribute name="code" type="xsd:string"/>
> 
> <xsd:attribute name="owned" type="xsd:string" use="default" value="no"/>
> 
> </xsd:complexType>
> 
> <xsd:complexType name="episodeType">
> 
> <xsd:element name="title" type="xsd:string"/>
> 
> <xsd:element name="firstair" type="date"/>
> 
> </xsd:complexType>
> 
> </xsd:schema>
> 
> "Neil Mowforth" <neilmowforth@h...> wrote in message
> news:1E3Xc.3781$Jg7.3384@n......
> > Hi
> >
> > I'm struggling to tell my XML document to look at XSD document.
> >
> > There are some deliberate XSD violations in there but no matter what links
> > I've tried no validation errors come up.
> >
> > Any help would be appricaiated.
> >
> > Neil
> >
> >
> >


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent