accès aux groupes de discussion, consultation et publication d'articles, recherche de "newsgroups"...
membres, identifiez-vous
é-mail Mot de passe
nouveau ? mot de passe oublié ?
Chargement... Chargement en cours...

Groupes français belges canadiens suisses internationaux Nétiquette
Échangez opinions et commentaires dans les forums de discussion.

xsd pytanie

 [  Nouvelle Discussion Nouvelle discussion  |  Répondre au groupe Répondre au groupe  |  pl.comp.xml ] 

Retour : Accueil du site pl comp xml  


  Sujet:   xsd pytanie  
 De: plk.zu...@gmail.com (Filip RembiaÅ‚kowski)
 Groupes: pl.comp.xml
 Organisation: TP - http://www.tp.pl/
 Date: 20. Nov 2008, 18:22:56
Czy można zrobić tak żeby element <instrument> musiał mieć atrybut id lub
atrybut nazwa?

tzn. żeby schema zezwalała na

<instrument id="1" />
<instrument nazwa="fortepian" />
<instrument id="3" name="skrzypce" />

ale NIE zezwalała na
<instrument />


Ponadto chciałbym, aby w ramach rodzica (kontenera), zarówno instrument.id jak
i instrument.nazwa były unikalne.
np. to jest ok:
<zestaw-instrumentow>
  <instrument id="1" />
  <instrument nazwa="fortepian" />
  <instrument id="2" name="skrzypce" />
</zestaw-instrumentow>
ale to już nie:
<zestaw-instrumentow>
  <instrument id="1" />
  <instrument id="1" name="bęben" />
</zestaw-instrumentow>


DateSujet  Auteur
20.11.
*   xsd pytanie
Filip Rembiałkowski
20.11.
`- Re: xsd pytanie
szomiz
Groups Explorer contact votre avis comment ça marche? rechercher un groupe suggérer un groupe abuse accueil du site   Imprimer cette page   Envoyer cette page à un(e) ami(e)
Free counter and web stats