From 065e860e0dc2cc874a15b933e310fee4debd4320 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Wed, 20 May 2009 22:54:25 -0400 Subject: [PATCH] validation fiddling --- xml.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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.