CURIE
Appearance
In
datatype
.
An example of CURIE syntax: [isbn:0393315703]
The square brackets may be used to prevent ambiguities between CURIEs and regular URIs, yielding so-called safe CURIEs.
namespace prefixes used in XML
) often are used as a CURIE, and may be considered a type of CURIE. Unlike QNames, the part of a CURIE after the colon does not need to conform to the rules for XML element names.
The first W3C Working Draft of CURIE syntax was released 7 March 2007.[1]
The final recommendation was released 16 December 2010.[2]
Example
This example is based on one from the aforementioned draft,[1] using a QName syntax within XHTML.
<html xmlns:wikipedia="http://en.wikipedia.org/wiki/">
<head>...</head>
<body>
<p>
Find out more about <a href="[wikipedia:Biome]">biomes</a>.
</p>
</body>
</html>
- Line 1: Prefix definition:
<html xmlns:wikipedia="http://en.wikipedia.org/wiki/">
- Line 5: Hyperlinked CURIE:
[wikipedia:Biome]
See also
References
- ^ W3C. 7 March 2007.
- W3C. 16 December 2010.