[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [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? >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|