.rnc RELAX NG XML schema

Text & source code

MIME typeapplication/relax-ng-compact-syntax
DescriptionRELAX NG XML schema
AcronymRELAX NG – REgular LAnguage for XML Next Generation
CategoryText & source code
Based ontext/plain

Frequently asked questions

What is a .rnc file?

A .rnc file is a “RELAX NG XML schema” (MIME type application/relax-ng-compact-syntax). RELAX NG stands for REgular LAnguage for XML Next Generation.

How do I open a .rnc file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .rnc file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.rnc shows the guessed type.

Which format is .rnc based on?

Technically a .rnc file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .rnc?

The MIME type is application/relax-ng-compact-syntax. In the Apache web server: AddType application/relax-ng-compact-syntax .rnc; in nginx: types { application/relax-ng-compact-syntax rnc; }.

Nearby entries