[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Andrew Welch" <andrew.j.welch@g...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Wed, 26 Mar 2008 12:04:03 +0000

On 26/03/2008, Costello, Roger L. <costello@m...> wrote:
>  Example: Now NumPages is GOOD because it is globally declared and has a
>  named type.
>
>  <element name="Book">
>     <complexType>
>         <sequence>
>           <element ref="bk:NumPages"/>
>         </sequence>
>     </complexType>
>  </element>

I think you mean:

<element name="Book" type="Book"/>

<complexType name="Book">
  <sequence>
    <element ref="bk:NumPages"/>
  </sequence>
</complexType>

...to expose the Book type.


cheers
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member