🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [debutant] contenu mixe (?) et expressions XPath

#9008
From: Alain Ketterlin
Date: Thu, 21 Jun 2001 08:10
25 lines
1668 bytes
JCM <symetrie@online.fr> writes:

> Je poursuis mon apprentissage du xml... et je bute sur ce probl�me:
> Soit le fragment:
> 
> <tag1>hello
>     <tag2>my</tag2>
>     world
> </tag1>
> 
> 1. Le contenu du tag1 s'appelle-t-il bien "mixed" ? (parce qu'il 
> contient deux parties de texte et un "enfant")

Le contenu est effectivement mixte, il contient trois parties : du
texte (hello suivi d'un retour chariot suivi de 3 espaces), un element
et du texte a nouveau.

> 2. Si ailleurs j'utilise <othertag myattrib="{tag1}">
> que dois-je m'attendre � voir dans myattrib ? "hello" ou "hello world" ?

Non, et pas non plus "hello my world".

Dans ton attribut tu as... {tag1} c'est tout.

-- Alain.
Technical Details
Message-ID: <wyelse45j7.fsf@polya.u-strasbg.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!ciril.fr!news.u-strasbg.fr!not-for-mail
References: <3B319D35.CE828FBD@online.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,d8378eb461293d6d
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-06-21 01:14:28 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!ciril.fr!news.u-strasbg.fr!not-for-mail
From: Alain Ketterlin <alain@dpt-info.u-strasbg.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: [debutant] contenu mixe (?) et expressions XPath
Date: 21 Jun 2001 10:10:36 +0200
Organization: CRC - Universite Louis Pasteur Strasbourg France
Lines: 25
Message-ID: <wyelse45j7.fsf@polya.u-strasbg.fr>
References: <3B319D35.CE828FBD@online.fr>
NNTP-Posting-Host: polya.u-strasbg.fr
X-Trace: news.u-strasbg.fr 993115850 25265 130.79.6.19 (21 Jun 2001 09:30:50 GMT)
X-Complaints-To: usenet@u-strasbg.fr
NNTP-Posting-Date: 21 Jun 2001 09:30:50 GMT
X-Newsreader: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef"