At 2006-04-27 11:18 -0400, Chad Chelius wrote:
>This may seem like a fairly basic question, but is there a difference
>on the use of the * (asterisk) in a DTD wether it is used as:
><!ELEMENT myName (name*)>
><!ELEMENT myName (name)*>
>My question being… What is the difference between the asterisk being
>within the parentheses or outside of the prentheses?
There is no difference in the way a document is
constrained when comparing the two above expressions.
Mechanically, the first is a repeating element
and the second is a repeating group of a single element.
I hope this helps.
. . . . . . . . . Ken
Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16
Also for XSLT/XSL-FO training: Minneapolis, MN 2006-07-31/08-04
Also for XML/XSLT/XSL-FO training:Birmingham,England 2006-05-22/25
Also for XSLT/XSL-FO training: Copenhagen,Denmark 2006-05-08/11
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman mailto:[log in to unmask]
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/l/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/l/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal