URI: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
URI moved to Using URIs in COLLADA: better description of current content
 
Elf (talk | contribs)
moving nonCOLLADA definition into here
Line 1: Line 1:
#REDIRECT [[Using URIs in COLLADA]]
A '''universal resource identifier''' (URI) is a standard way of referencing elements, objects, files,and so on.
 
The basic URI file scheme syntax is:
''scheme''://''authority''/''filepath''?''query''#''fragment''
 
URIs are either absolute or relative:
*An ''absolute URI'' contains a scheme and an authority.
*A ''relative URI'' is any URI that does not contain both a scheme and an authority. A relative URI can be a relative path, an absolute path, or just a fragment.
 
The ''fragment'' portion references an element that can be found within the same document as the URI. An example of this:
#redMaterial
 
==See also==
*[[Using URIs in COLLADA]]
*[[DOM guide: Resolving URIs]]
 
==External links==
* [http://en.wikipedia.org/wiki/Uniform_Resource_Identifier Definition of URI]
* [http://en.wikipedia.org/wiki/URI_scheme Discussion of URI file scheme]
 
[[Category:Terminology]]

Revision as of 04:06, 25 May 2007

A universal resource identifier (URI) is a standard way of referencing elements, objects, files,and so on.

The basic URI file scheme syntax is:

scheme://authority/filepath?query#fragment

URIs are either absolute or relative:

  • An absolute URI contains a scheme and an authority.
  • A relative URI is any URI that does not contain both a scheme and an authority. A relative URI can be a relative path, an absolute path, or just a fragment.

The fragment portion references an element that can be found within the same document as the URI. An example of this:

#redMaterial

See also

External links