🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

XLINK Comment �a marche ???

#9885
From: Pascal BUIS
Date: Tue, 16 Jan 2001 15:22
67 lines
3030 bytes
Bonjour,

J'essaye de de comprendre comment marche les liens dans XML
J'ai r�cup�r� sur un site cet exemple :

Document XML :
_______________________________________________________

<?xml version="1.0"?>
<!DOCTYPE MADOC SYSTEM "a.dtd">
<MADOC>
<IMG xmlns:xlink="http://www.w3.org/1999/xlink/namespace/"
     xlink:type="simple"
     xlink:href="photo.gif"
     xlink:actuate="onLoad"
     xlink:show="embed"/>

<CONNEXION xmlns:xlink="http://www.w3.org/1999/xlink/namespace/"
     xlink:type="arc"
     xlink:from="local"
     xlink:to="fr"
     xlink:show="replace"
     xlink:actuate="onRequest"/>

<MIRROR xmlns:xlink="http://www.w3.org/1999/xlink/namespace/"
  xlink:type="locator"
  xlink:role="org"
  xlink:title="Main Page"
  xlink:href="http://www.site.com"/>

</MADOC>

_______________________________________________________
DTD associ� :

<!ELEMENT IMG EMPTY>
<!ATTLIST IMG
    xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink/namespace/"
    xlink:type CDATA #FIXED "simple"
    xlink:href CDATA #REQUIRED
    xlink:show CDATA #FIXED "onLoad"
    xlink:actuate CDATA #FIXED "embed">

<!ELEMENT CONNEXION EMPTY>
<!ATTLIST CONNEXION
    xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink/namespace/"
    xlink:type (arc) #FIXED "arc"
          xlink:from CDATA #IMPLIED
          xlink:to CDATA #IMPLIED
          xlink:show (replace) #FIXED "replace"
          xlink:actuate (onRequest | onLoad) #FIXED "onRequest">

<!ELEMENT MIRROR (#PCDATA)>
<!ATTLIST MIRROR
    xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink/namespace/"
    xlink:type (locator) #FIXED "locator"
    xlink:role CDATA #REQUIRED
    xlink:title CDATA #IMPLIED
    xlink:href CDATA #REQUIRED>

_______________________________________________________

Il me semble qu'il manque quelque chose pour que ca marche mais je ne vois
pas quoi.
Merci d'avance pour votre aide !

    Pascal
Technical Details
Message-ID: <943qm3$ghi$1@reader1.imaginet.fr>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed.icl.net!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fr.clara.net!heighliner.fr.clara.net!fr.colt.net!writer!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,454eafc86dc62245,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-01-17 02:10:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!newsfeed.cwix.com!newsfeed.icl.net!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fr.clara.net!heighliner.fr.clara.net!fr.colt.net!writer!not-for-mail
From: "Pascal BUIS" <pascal.buis@etic.fr>
Newsgroups: fr.comp.text.xml
Subject: XLINK Comment �a marche ???
Date: Tue, 16 Jan 2001 16:22:02 +0100
Organization: ImagiNET / Colt Internet
Lines: 69
Message-ID: <943qm3$ghi$1@reader1.imaginet.fr>
NNTP-Posting-Host: access-154.102.rev.fr.colt.net
X-Trace: reader1.imaginet.fr 979725827 16946 213.41.102.154 (17 Jan 2001 10:03:47 GMT)
X-Complaints-To: abuse@imaginet.fr
NNTP-Posting-Date: 17 Jan 2001 10:03:47 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200