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

  • From: "Boyse, Jim" <Jim_Boyse@f...>
  • To: xml-dev@l...
  • Date: Wed, 11 Jul 2001 10:02:56 -0400

Title: DTD Notation

Can someone help with a DTD notation question, please?

I'm looking at a DTD furnished by an outside source.  In the DTD, most "optional repeating" elements are defined with an asterisk, for example, <!ELEMENT Test1 (ItemA, ItemB?, ItemC*)>.  But a few are defined with additional parentheses, for example, <!ELEMENT Test2 (ItemA, ItemB?, (ItemC)*)>.

What's the difference between "ItemC*" and "(ItemC)*"?

Thanks for any insight into this (subtlety | confusion) you can give.

--Jim
 James A. Boyse
Foremost Insurance Group                        E-Mail: boyse@f...
P.O. Box 2450                                            Phone: 616/956-4150
Grand Rapids, MI  49501-2450                  Fax:      616/956-4450


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