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">  
+
<feed xmlns="http://www.w3.org/2005/Atom">  
   <title>dive into mark</title>             
 </feed>
 
@@ -179,8 +179,7 @@ mark{display:inline}

At the top level is the root element, which every Atom feed shares: the feed element in the http://www.w3.org/2005/Atom namespace. -


-<feed xmlns="http://www.w3.org/2005/Atom"  
+
<feed xmlns="http://www.w3.org/2005/Atom"  
       xml:lang="en">                       
  1. http://www.w3.org/2005/Atom is the Atom namespace.