W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

Re: to know about the attributes

From: Jeni Tennison <jeni@jenitennison.com>
Date: Tue, 9 Oct 2001 18:03:36 +0100
Message-ID: <548631871.20011009180336@jenitennison.com>
To: "Kuberean, Venkatesan (Cognizant)" <Venkatk@chn.cognizant.com>
CC: xmlschema-dev@w3.org
Hi Venkatesan,

>         Question 1:
>
>         In the Instance document, i seen a attribute like
>                 " xsi:noNamespaceSchemaLocation ". For what purpose they are
> using that one.

They're using that to point from the instance document to the XML
Schema that should be used to validate the instance document. The
value of xsi:noNamespaceSchemaLocation is the URL of the schema
document, relative to the instance document.

(Note that it points to the schema to be used for elements that are in
no namespace, as opposed to the xsi:schemaLocation attribute which you
use to point to the schema for elements that are in particular
namespaces.)

>         Question 2:
>                 How can i get the Database data in XML instance document.

That's off topic for this list, and it depends highly on what database
you're using and how you're using it. Have a look at Ron Bourrett's
pages about XML and databases at:

  http://www.rpbourret.com/xml/XMLAndDatabases.htm

I hope that helps,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Tuesday, 9 October 2001 13:03:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:24 GMT