🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #310

Préfixes dans les noms de balises

#310
From: François Beretti
Date: Wed, 01 Oct 2008 16:15
25 lines
2147 bytes
Bonjour à tous,

je découvre un peu le XML (dans son utilisation avancée), et notamment
les espaces de nom. J'ai besoin de créer un format XML incluant des
portions de DSML.

j'ai trouvé un autre format faisant ce genre de choses : SPML. Voici
un exemple :

<spmlsearch:searchResponse status="spml:success"
xmlns:spml="urn:oasis:names:tc:SPML:2:0"
xmlns:spmlsearch="urn:oasis:names:tc:SPML:2:0:search">
    <spml:pso>
        <spml:psoId ID="CN=John Doe,OU=accounting,DC=acme.com"
targetID="acme.com"/>
        <spml:data>
            <attr name="cn" xmlns="urn:oasis:names:tc:DSML:2:0:core">
                <value>John Doe</value>
            </attr>

Je me pose des questions sur ces préfixes, notamment : pourquoi
<spml:data> et <value> (et pas <data> et <dsml:value>) ?

Merci
François
Technical Details
Message-ID: <c9b85c23-ac6f-4f23-af5c-8a8e4af143e5@r66g2000hsg.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!r66g2000hsg.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 114f60,3e9a2675240d25b6,start
X-Google-Attributes: gid114f60,domainid0,public,usenet
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!r66g2000hsg.googlegroups.com!not-for-mail
From: François Beretti <francois.beretti@gmail.com>
Newsgroups: fr.comp.text.xml
Subject: Préfixes dans les noms de balises
Date: Wed, 1 Oct 2008 09:15:13 -0700 (PDT)
Organization: http://groups.google.com
Lines: 25
Message-ID: <c9b85c23-ac6f-4f23-af5c-8a8e4af143e5@r66g2000hsg.googlegroups.com>
NNTP-Posting-Host: 129.184.84.10
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1222877714 12509 127.0.0.1 (1 Oct 2008 16:15:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 1 Oct 2008 16:15:14 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r66g2000hsg.googlegroups.com; posting-host=129.184.84.10; 
 posting-account=hlTN2woAAACFg92lfbZDDy0NFjmG7cA9
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.0.3) 
 Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 proxy1 (NetCache NetApp/6.1.1), 1.1 proxy1 (NetCache 
 NetApp/6.1.1)