[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] unsinged short for line numbers
- From: Boris Kolpackov <boris codesynthesis com>
- To: xml gnome org
- Subject: Re: [xml] unsinged short for line numbers
- Date: Wed, 14 Feb 2007 19:32:55 +0000 (UTC)
Hi Stefan,
Stefan Froehlich <Stefan Froehlich Priv at> writes:
> [sample from a well-established eCommerce standard]
> [...]
> | <CATALOG_STRUCTURE>
> | <GROUP_ID>0103</GROUP_ID>
> | <GROUP_NAME>Kabelschutz-/ Nachrichtentechnik</GROUP_NAME>
> | <PARENT_ID>01</PARENT_ID>
> | </CATALOG_STRUCTURE>
> | <CATALOG_STRUCTURE>
> | <GROUP_ID>010303</GROUP_ID>
> | <GROUP_NAME>Verbundrohre aus PE</GROUP_NAME>
> | <PARENT_ID>0103</PARENT_ID>
> | </CATALOG_STRUCTURE>
>
> Every content of a <PARENT_ID> has to match some value of a <GOUP_ID>,
> however in real life it won't always do. This is nothing you can catch
> with a DTD or an XSD.
You may be able to do this with XML Schema key/unique/keyref constructs.
hth,
-boris
--
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]