Skip to main content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

USDA Logo U.S. Department of Agriculture

Formats - XML

The eXtensible Markup Language (XML) format, may be new to some people. Like HTML, XML is defined by tags enclosing content. Unlike HTML, the tags are mostly defined by the user to describe their own data. The XML standard defines how tags are organized and how to manipulate them. XML is natively stored in Unicode, a 32-bit plain text standard that supercedes ASCII. The power and simplicity of XML has led to implementations on every major platform. These features make XML an excellent candidate for long-term storage of data and metadata.For metadata, XML has the added advantages of being searchable (in a metadata clearinghouse, for example) and displayable via style sheets.

To access an XML data set ... you can open the files directly in Microsoft Excel or Access 2003 or higher. Other high-end database systems such as SQL Server and Oracle, not to mention XML-centric databases such as Tamino can import XML files.

To view an XML metadata document ... you will need to use a style sheet. The use of style sheets allows one to generate the XML once, but display it in different formats by simply changing the style sheet used. The impact of this can be seen by opening this metadata file; this is the raw XML. If you open the same file in Internet Explorer (IE) 4.5 or later, it looks different. Microsoft incorporated a simple style sheet for displaying XML. One can also specify a style sheet to use in the XML file. This can insulate a regular data user from raw XML, as can be seen by opening this version of the metadata file in IE. This style sheet started out as an ESRI/FGDC display for FGDC metadata and has been extended by the archiving team to handle BDP metadata. Here is the stylesheet the archive uses to display our XML metadata: NBII_classic.xsl. Simply download this file and put it into the same folder as FGDC compliant metadata XML file.