Skip to content

File Format

An RSL document, also called a license, must conform to the XML 1.0 specification and may be implemented in one of three formats:

All formats share the same core XML structure and use the <rsl> root element with the RSL namespace.

License Files

RSL license files are standalone .rsl documents hosted on a website or license server. Each file must begin with an <rsl> root element referencing the RSL namespace:

xml
<rsl xmlns="https://rslstandard.org/rsl">
  ...
</rsl>

See also Adding RSL to robots.txt.

License Feeds

RSL license feeds are RSS documents that include the RSL module to define licensing terms for content in <item> elements. This allows licensing to be integrated with existing content discovery and syndication workflows.

RSL feeds must declare the RSL namespace on the root <rss> element and use the rsl: prefix to reference RSL elements (e.g., <rsl:content>).

xml
<rss xmlns:rsl="https://rslstandard.org/rsl" version="2.0">
  ...
</rss>

See also Adding RSL to RSS Feeds.

Embedded Licenses

RSL licenses can also be embedded directly in an HTML page in one of two ways: using a <script> tag with type="application/rsl+xml" to include the full license inline, or using a <link> tag with type="application/rsl+xml" to reference an external license file.

See also Adding RSL Web Pages.

RSL™, Really Simple Licensing™, and the RSL Logo are trademarks of RSL Foundry. Terms of Service. Privacy.