OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Difference between import and include in Schema.........

[ Lists Home | Date Index | Thread Index ]

<xsd:import namespace="target-namespace-of-the-importing-schema"
                  schemaLocation="uri-of-the-schema"/>

<xsd:include schemaLocation="uri-of-the-schema"/>

As in the grammer, any schema which can have any namespace, could be targeted.
and all the schema components in targeted schema could be referenced from the very(importing) schema.

but include can be place with the same target-namespace, or nonamespace-schema.
all  the compoents from included schema should not place any naming conflict with in naming scope.
(in this case, ??? parser will ignore the included compoent which makes conflict).



> -----Original Message-----
> From: Tippabhotla, Ravishanker 
> [mailto:Ravishanker_Tippabhotla@syntelinc.com]
> Sent: Thursday, April 18, 2002 2:45 PM
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] Difference between import and include in 
> Schema.........
> 
> 
> hi,
>   Can somebody tell the Difference between import and include 
> in Schema....
> 
> RaviShanker Tippa,
> Programmer Analyst,
> Syntel India Ltd,
> 21 MountRoad,Saidapet,
> Chennai-15
> Ph:2300368 ext-35
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS