Presentation is loading. Please wait.

Presentation is loading. Please wait.

XML Namespaces Each schema file associated with a URL to uniquely identify where elements come from – Like packages in Java

Similar presentations


Presentation on theme: "XML Namespaces Each schema file associated with a URL to uniquely identify where elements come from – Like packages in Java"— Presentation transcript:

1 XML Namespaces Each schema file associated with a URL to uniquely identify where elements come from – Like packages in Java http://www.ebay.comhttp://www.amazon.com http://www.superstore.ca

2 TargetNamesapce So, if I’m writing a schema for my superstore

3 Label prefixes Instead of referring to URLs, namespaces are given short prefix labels

4 Referring to XML Schema schema XML Schema is an XML language itself with a schema.

5 Default Namespace One namespace can be given no label, for convenience

6 Declarations Prefixes are not used when declaring names of elements or types Prefixes are used when referring to elements or types


Download ppt "XML Namespaces Each schema file associated with a URL to uniquely identify where elements come from – Like packages in Java"

Similar presentations


Ads by Google