Re: to know about the attributes

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 UTC