.rnc RELAX NG XML schema
Text & source code
| MIME type | application/relax-ng-compact-syntax |
|---|---|
| Description | RELAX NG XML schema |
| Acronym | RELAX NG – REgular LAnguage for XML Next Generation |
| Category | Text & source code |
| Based on | text/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; }.