Internal Revenue Service IRS.gov
Skip To Main Content Skip Past Header Home  |  Accessibility  |  Tax Stats  |  About IRS  |  Careers  |  FOIA  |  The Newsroom  |  Site Map  |  Español  |  Help

Skip to Main Content


 Advanced Search



 Tips for successful searching



Home > Forms and Publications

Information for
Individuals
Businesses
Charities & Non-Profits
Government Entities
Tax Professionals
Retirement Plans



Resources
Compliance & Enforcement
Contact My Local Office
e-file
Forms and Publications
Frequently Asked Questions
Taxpayer Advocate
Where To File


 

About XML or SGML Formatted Files

 

Standard Generalized Markup Language (SGML)

SGML is a federal (FIPS 152) and international (ISO 8879) standard for identifying the structure and content of documents. SGML files are ASCII text files that contain "element identifiers" similar to the tags used in an HTML file. An SGML application also contains a Document Type Definition (DTD) file that defines the document structure and content.

Extensible Markup Language (XML)

Extensible Markup Language (XML) is an SGML application developed with the needs of the Web in mind. It is more flexible than HTML and has fewer restrictions than "pure" SGML. XML has been designed for ease of implementation, and for interoperability with both SGML and HTML. As XML achieves wider implementation in the electronic community, it is expected to replace HTML to produce web documents that are better defined and more visually precise.

More information about XML and SGML can be found on the OASIS Cover Pages,  on online resource for markup language technologies.