Google Groups Home
Help | Sign in
attribut ou balise?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Rakotomandimby (R12y) Mihamina  
View profile
 More options May 14, 4:32 pm
Newsgroups: fr.comp.text.xml, fr.comp.lang.general
From: "Rakotomandimby (R12y) Mihamina" <miham...@infogerance.us>
Date: Wed, 14 May 2008 23:32:28 +0300
Local: Wed, May 14 2008 4:32 pm
Subject: attribut ou balise?
Bonjour,
Je parcours quelques exemples et je tombe sur celui-ci:
<catalog>
   <book isbn="1-56592-724-9">
     <title>The Cathedral &amp; the Bazaar</title>
     <author>Eric S. Raymond</author>
   </book>
   <book isbn="1-56592-051-1">
     <title>Making TeX Work</title>
     <author>Norman Walsh</author>
   </book>
</catalog>

Je me demande _une_ chose: Pour avoir mis le ISBN en attribut?
Dans quel cas de figure est-il plus recommandé de faire ça que:
<catalog>
   <book>
      <isbn>1-56592-724-9</isbn>
     <title>The Cathedral &amp; the Bazaar</title>
     <author>Eric S. Raymond</author>
   </book>
   <book>
      <isbn>1-56592-051-1</isbn>
     <title>Making TeX Work</title>
     <author>Norman Walsh</author>
   </book>
</catalog>

Xpost, proposez SVP un suivi adapté :)
MErci d'avance.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yves Lambert  
View profile
 More options May 15, 4:46 am
Newsgroups: fr.comp.text.xml, fr.comp.lang.general
Followup-To: fr.comp.text.xml
From: Yves Lambert <superdup...@madeinfrance.org>
Date: Thu, 15 May 2008 10:46:54 +0200
Local: Thurs, May 15 2008 4:46 am
Subject: Re: attribut ou balise?

Rakotomandimby (R12y) Mihamina wrote:
> Bonjour,

Bonjour,

> Je parcours quelques exemples et je tombe sur celui-ci:
> <catalog>
>   <book isbn="1-56592-724-9">
> Je me demande _une_ chose: Pour avoir mis le ISBN en attribut?
> Dans quel cas de figure est-il plus recommandé de faire ça que:
> <catalog>
>   <book>
>      <isbn>1-56592-724-9</isbn>

Je débute, mais je vois deux trucs :

1. l'ISBN est la clé de "book"
2. les DTD ne permettent pas de typage sémantique et le fait de le mettre en
attribut peut peut-être aider l'appli qui est derrière à valider la
sémantique de l'attribut

> Xpost, proposez SVP un suivi adapté :)

fctx me semble convenir.

--
http://www.madeinfrance.org/superdupont/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google