| From | Sent On | Attachments |
|---|---|---|
| Philippe Poulard | Sep 8, 2004 4:53 am | |
| Chiusano Joseph | Sep 8, 2004 6:24 am | |
| Christian Nentwich | Sep 8, 2004 6:35 am | |
| Cross, Neal - Senior Developer | Sep 8, 2004 6:36 am | |
| Chiusano Joseph | Sep 8, 2004 6:39 am | |
| Cross, Neal - Senior Developer | Sep 8, 2004 6:47 am | |
| David Carlisle | Sep 8, 2004 6:57 am | |
| Philippe Poulard | Sep 8, 2004 6:58 am | |
| Philippe Poulard | Sep 8, 2004 7:10 am | |
| Cross, Neal - Senior Developer | Sep 8, 2004 7:14 am | |
| Cross, Neal - Senior Developer | Sep 8, 2004 7:23 am | |
| David Carlisle | Sep 8, 2004 7:45 am | |
| Owen Walcher | Sep 8, 2004 8:25 am | |
| David RR Webber (XML eBusiness) | Sep 9, 2004 5:31 am | |
| Cross, Neal - Senior Developer | Sep 9, 2004 6:57 am |
| Subject: | RE: [xml-dev] [schema] which assertions can't you express ? | |
|---|---|---|
| From: | Cross, Neal - Senior Developer (ncr...@icc.co.uk) | |
| Date: | Sep 8, 2004 7:23:25 am | |
| List: | org.xml.lists.xml-dev | |
Yes that is correct, but the structure can contain over 1000 business items and
the structure can be slightly different for each document that is produced.
The issue was I wanted type definitions for the entities.
So in XSD how would I say that this item, wherever it appears in the tree will
always be a string?
<section id="name"/>
-----Original Message----- From: Philippe Poulard [mailto:Phil...@sophia.inria.fr] Sent: 08 September 2004 15:11 To: xml-...@lists.xml.org Subject: Re: [xml-dev] [schema] which assertions can't you express ?
hi Neal,
what should i understand ?
" -the section element must have an id attribute which value must be : -'report definition' if the host element is root -'officers' if the parent of the host element is identified with 'report definition' -'secretary' if ... -'name' or 'appointment date' or ... if ... "
is that your assertions ?
Cross, Neal - Senior Developer wrote:
I have found that a schema is of no use to us at all because of the way that our
XML is structured:-
<section id="report definition"> <section id="officers"> <section id="secretary" limit="2"> <section id="name"/> <section id="appointment date"/> <section id="date of birth"/> <section id="occupation"/> <section id="address"/> <section id="disqualified flag"/> <section id="disqualified reason"/> <section id="disqualified start"/> <section id="disqualified end"/> <section id="previous address" limit="1"> <section id="address"/> </section>
etc, etc.
Now, how do I create a schema to represent this considering that is is indexed
by the attribute value of id?
----------------------------------------------------------------- The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription manager: <http://www.oasis-open.org/mlmanage/index.php>
#####################################################################################
This e-mail message has been scanned for Viruses and Content.
BOSS
#####################################################################################





