Namespaces
A namespace is a uniform resource identifier (URI) that provides a unique name to associate with the element, attribute, and type definitions in an XML schema or with the names of elements, attributes, types, functions, and errors in XQuery expressions. In CDM XBRL you can create, edit, and delete namespaces.
A namespace provides a simple method to qualify element and attribute names used in CDM XBRL documents by associating them with namespaces identified by URI references. You can use namespaces to create custom measures.
Add a Namespace
You must complete two fields to create a namespace: Prefix and URI. Both of these fields are user-defined. The combination of prefix and URI must be unique.
To use CDM XBRL to add an XBRL namespace:
- Click the Home tab, then in the Navigation Pane, click Administration.
- Under XBRL, double-click Namespaces. The Namespaces tab opens in the work area.
- Click Home > Add > Namespace.
- Type the required information into the fields.
- Prefix - Type a used assigned text.
-
URI - Enter the well-formed URI for the website that you selected, for example,
http://www.sec.gov.
- Click OK.
Edit a Namespace
- In the Namespaces tab in the work area, right-click on the namespace you want to edit and select Edit.
- In the Edit window, change any of the Prefix and URI fields.
- Click OK.
Delete a Namespace
Important: If you delete a namespace that is associated with a measure, a warning message opens. You cannot undo a deletion. Proceed with caution.
To delete an unused or unwanted XBRL namespace:
- In the Namespaces tab in the work area, right-click the namespace you want to delete and select Delete.
- In the confirmation window, click Yes.
Note: If the namespace that is associated with the measure has an association with a unit that is used in a tag, that namespace cannot be deleted.