Re: Problème de déclaration d'un attribut xml:lang avec Xschema
Eric van der Vlist <[email protected]>
| Newsgroups | gmane.text.xml.french.tech |
|---|---|
| Organization | Dyomedea (http://dyomedea.com) |
| Message-ID | <[email protected]> |
Le mardi 21 février 2006 à 22:24 +0100, Stéphane Bonhomme a écrit :
> Dans la spec de XMLSchema (dans le schema des schema) il est ecrit :
>
> <xs:import namespace="http://www.w3.org/XML/1998/namespace"
> schemaLocation="http://www.w3.org/2001/xml.xsd">
> <xs:annotation>
> <xs:documentation>
> Get access to the xml: attribute groups for xml:lang
> </xs:documentation>
> </xs:annotation>
> </xs:import>
>
>
> ce qui vous permet d'écrire dans un complexType/content:
>
> <xs:attribute ref="xml:lang"/>
Tout à fait.
Voir également http://xmlfr.org/documentations/faq/040924-0001
Cordialement,
Eric van der Vlist
--
GPG-PGP: 2A528005
Carnet web :
http://eric.van-der-vlist.com/blog?t=category&a=Fran%C3%A7ais
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-- Attached file included as plaintext by Ecartis --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQBD/CdZDvn+ZCpSgAURAttwAJ47yloup7rZDqeDaKy3My+iI4XMuwCgonZV
PE8cOzChvQRD1vhPSXCbXS4=
=6SP9
-----END PGP SIGNATURE-----