diff --git a/xml.html b/xml.html index 63b6c08..700b5b4 100644 --- a/xml.html +++ b/xml.html @@ -144,7 +144,7 @@ mark{display:inline}
Like Python functions can be declared in different modules, XML elements can be declared in different namespaces. Namespaces usually look like URLs. You use an xmlns declaration to define a default namespace. A namespace declaration looks similar to an attribute, but it has a different purpose.
-
<feed xmlns="http://www.w3.org/2005/Atom"> ①+@@ -179,8 +179,7 @@ mark{display:inline}<feed xmlns="http://www.w3.org/2005/Atom"> ① <title>dive into mark</title> ② </feed>At the top level is the root element, which every Atom feed shares: the
feedelement in thehttp://www.w3.org/2005/Atomnamespace. --<feed xmlns="http://www.w3.org/2005/Atom" ① +<feed xmlns="http://www.w3.org/2005/Atom" ① xml:lang="en"> ②
http://www.w3.org/2005/Atomis the Atom namespace.