Prev Up Next Index
Go backward to 4.2.1 access
Go up to 4.2 THREDDS Catalog Configuration Elements
Go forward to 4.2.3 catalogRef

4.2.2 catalog

<!ELEMENT catalog (dataset) >
<!ATTLIST catalog
    name CDATA #REQUIRED
    version CDATA #REQUIRED
    xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"
    xmlns CDATA #FIXED "http://www.unidata.ucar.edu/thredds"
>

This is the top-level element. A catalog element contains exactly one top-level dataset. The name of the catalog should be displayed to the user when selecting among catalogs. The version allows DTD migration and should be set to 0.6.

The XLink and default namespaces are declared here, so technically they do not have to be declared in the catalog XML itself. However Internet Explorer cannot deal with namespaces declared in the DTD, so you should add the same two namespace declarations in the catalog element in the XML document itself (see this example This allows you to view the catalog in the IE browser. Netscape Navigator cannot yet view XML files (as of version 6.2.1).


Tom Sgouros, 2004/07/07

Prev Up Next