Shared MIME-info Database
treematch
elements can be nested, meaning that both the outer and the inner
treematch
must be
satisfied for a "match".
Applications may also define their own elements, provided they are namespaced to prevent collisions.
Unknown elements are copied directly to the output XML files like
comment
elements. A typical use for
this would be to indicate the default handler application for a particular desktop ("Galeon is the GNOME
default text/html browser"). Note that this doesn’t indicate the user’s preferred application, only the
(fixed) default.
Here is an example source file, named
diff.xml
:
Differences between files
verskille tussen lÃ
a
ers
...
In practice, common types such as text/x-diff are provided by the freedesktop.org shared database. Also,
only new information needs to be provided, since this information will be merged with other information
about the same type.
Do'stlaringiz bilan baham: