--- a/docs/src/configuration.md Tue Oct 03 14:59:35 2017 +0200 +++ b/docs/src/configuration.md Tue Oct 03 16:59:39 2017 +0200 @@ -4,7 +4,7 @@ The main configuration file for *dav* is `$HOME/.dav/config.xml` and is used for configuring repositories, proxies and encryption keys. This configuration is also used by *dav-sync*. The file is created automaticaly if it doesn't exist. -The *config.xml* file is an XML file with `<configuration>` as root element. The `<configuration>` element can have the following child elements: `<repository>`, `<http-proxy>`, `<https-proxy>`, `<key>` +The *config.xml* file is an XML file with `<configuration>` as root element. The `<configuration>` element can have the following child elements: `<repository>`, `<http-proxy>`, `<https-proxy>`, `<key>`, `<namespace>` ## repository @@ -177,6 +177,13 @@ Type: string \ Example: `<no>host1, host2, host3</no>` +## namespace + +Configures an XML-namespace with prefix and uri. The prefix can be used with commands like `get-property`. The element must have the `prefix` and the `uri` attribute. + +Type: no value +Example: `<namespace prefix="e" uri="http://example.com/" />` + ## Example 1: minimal repository configuration A minimal configuration for a repository. If no user and/or password are configured, dav prompts for authentication informations if required.