MY mENU


Monday 2 April 2012

URN


A URI identifies a resource by name in a given namespace but not define how the resource maybe obtained. This type of URI is called a URN. You may see URNs used in XML Schema documents to define a namespace, usually using a syntax such as:
xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:example"
Here the targetNamespace use a URN. It defines an identifier to the namespace, but it does not define a location.

No comments:

Post a Comment