According to my O'Reilly XML Pocket Reference 2nd ed. page 25 the occurrence
operator "*" appearing within the parentheses means that the single element
(or a grouping of elements contained inside parentheses) "May appear any
number of times or not at all (zero or more times)".

The "?" occurrence operator means that the element or group "Must appear once
or not at all (zero or one times)".

The "+" occurrence operator means that the element or group "Must appear at
least once (one or more times)".

Karjala


>>> [EMAIL PROTECTED] 07/01/2004 3:20:02 PM >>>
Anybody know why, when creating an XML document in a LIST statement
using WITHDTD

you sometimes get  " * " (asterisks) in the DTD.



Ex.



<?xml version="1.0"?>

<!DOCTYPE ROOT[

<!ELEMENT ROOT (CNTYCD_record*)>

<!ELEMENT CNTYCD_record ( _ID , CNTYN , TERREFFXML-MV* )>

<!ELEMENT _ID  (#PCDATA) >

<!ELEMENT CNTYN  (#PCDATA) >

<!ELEMENT TERREFFXML-MV ( TERR* , EFFDATE* )>

<!ELEMENT TERR  (#PCDATA) >

<!ELEMENT EFFDATE  (#PCDATA) >

]>
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to