diff templates/commentAtom.xml @ 34:efba519d2d32

Clarification des namespaces pour le parser XML de PHP.
author Franck Deroche <webmaster@defr.org>
date Mon, 05 Nov 2007 09:43:24 +0100
parents c6508503269a
children
line wrap: on
line diff
--- a/templates/commentAtom.xml	Mon Nov 05 09:23:40 2007 +0100
+++ b/templates/commentAtom.xml	Mon Nov 05 09:43:24 2007 +0100
@@ -1,14 +1,15 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <entry xmlns='http://www.w3.org/2005/Atom'
+       xmlns:xhtml='http://www.w3.org/1999/xhtml'
        xmlns:tr='http://defr.net/2007/template'>
    <title type='text'>
        <tr:postTitle /> - <tr:wrapper tr:id='auteur' />
    </title>
    <id>tag:defr.org,comment,2006:<tr:commentNumber /></id>
    <content type='xhtml'>
-   	<div xmlns='http://www.w3.org/1999/xhtml'>
+   	<xhtml:div xmlns='http://www.w3.org/1999/xhtml'>
 	  <tr:comment />
-	</div>
+	</xhtml:div>
    </content>
    <published><tr:commentDateISO /></published>
    <updated><tr:commentDateISO /></updated>