comparison 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
comparison
equal deleted inserted replaced
33:c6508503269a 34:efba519d2d32
1 <?xml version='1.0' encoding='UTF-8'?> 1 <?xml version='1.0' encoding='UTF-8'?>
2 <entry xmlns='http://www.w3.org/2005/Atom' 2 <entry xmlns='http://www.w3.org/2005/Atom'
3 xmlns:xhtml='http://www.w3.org/1999/xhtml'
3 xmlns:tr='http://defr.net/2007/template'> 4 xmlns:tr='http://defr.net/2007/template'>
4 <title type='text'> 5 <title type='text'>
5 <tr:postTitle /> - <tr:wrapper tr:id='auteur' /> 6 <tr:postTitle /> - <tr:wrapper tr:id='auteur' />
6 </title> 7 </title>
7 <id>tag:defr.org,comment,2006:<tr:commentNumber /></id> 8 <id>tag:defr.org,comment,2006:<tr:commentNumber /></id>
8 <content type='xhtml'> 9 <content type='xhtml'>
9 <div xmlns='http://www.w3.org/1999/xhtml'> 10 <xhtml:div xmlns='http://www.w3.org/1999/xhtml'>
10 <tr:comment /> 11 <tr:comment />
11 </div> 12 </xhtml:div>
12 </content> 13 </content>
13 <published><tr:commentDateISO /></published> 14 <published><tr:commentDateISO /></published>
14 <updated><tr:commentDateISO /></updated> 15 <updated><tr:commentDateISO /></updated>
15 <link tr:id='linkPostNumber' rel='alternate' type='text/html' /> 16 <link tr:id='linkPostNumber' rel='alternate' type='text/html' />
16 </entry> 17 </entry>