Mozile RSD Test 1 - RSD loaded via CSS "mozileconfiguration" selector.

This page has a <style> tag inside the <head>. The <style> tag includes a selector called mozileconfiguration which gives the background-image property the value of url("rsd.xml"). This tells Mozile where to find the rsd.xml file, which contains special configuration information. Mozile looks for this selector and this property whenever you start to edit a page. If it finds a valid URL, it loads the file, and if it doesn't find a URL it uses the default settings.

First, click inside the editable area to get Mozile to check for the CSS configuration, and to load the RSD file. Then, click :
Mozile » Page Info
and the RSD tab to see how the configuration data has been applied.

Edit this text!

Here is the markup for the <style> tag:

<style type="text/css">
  mozileconfiguration {
    background-image: url("rsd.xml");
  }
</style>

View the configuration file: rsd.xml

In this example, notice how the save options for HTTP Post and WebDAV have been removed. Click the save button and notice that these options have been removed from the save dialog. Also, only the latin characters are converted to entities. If you enter some Greek characters, for example, they will be converted to question marks.

Notes

This method must be used for editing XML files where the XHTML link element can not be used.