mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-01 10:06:59 +03:00
Added docs for 2.4.22, Daniel
This commit is contained in:
@ -104,10 +104,10 @@ value in the long-term. Example:</p>
|
||||
</mydoc></pre>
|
||||
<p>The namespace value has to be an absolute URL, but the URL doesn't have to
|
||||
point to any existing resource on the Web. It will bind all the element and
|
||||
attributes with that URL. I suggest to use an URL within a domain you control,
|
||||
and that the URL should contain some kind of version information if possible.
|
||||
For example, <code>"http://www.gnome.org/gnumeric/1.0/"</code> is a good
|
||||
namespace scheme.</p>
|
||||
attributes with that URL. I suggest to use an URL within a domain you
|
||||
control, and that the URL should contain some kind of version information if
|
||||
possible. For example, <code>"http://www.gnome.org/gnumeric/1.0/"</code> is a
|
||||
good namespace scheme.</p>
|
||||
<p>Then when you load a file, make sure that a namespace carrying the
|
||||
version-independent prefix is installed on the root element of your document,
|
||||
and if the version information don't match something you know, warn the user
|
||||
|
Reference in New Issue
Block a user