jQuery in Action, 3rd edition
The moose likes XML and Related Technologies and the fly likes Fundamental Question of XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Fundamental Question of XML" Watch "Fundamental Question of XML" New topic

Fundamental Question of XML

Hoyin Chan

Joined: Mar 28, 2004
Posts: 3
I am not very sure about the *, +, | and () used to identify the quatity of the element.
If the DTD is: <!ELEMENT tag1 (tag2 | tag3*)+>
What does this mean??
Is it correct to say
And can I use both tag2 and tag3 inside tag1?
[ July 10, 2004: Message edited by: Hoyin Chan ]
Blake Minghelli
Ranch Hand

Joined: Sep 13, 2002
Posts: 331
You might find this DTD tutorial helpful.

Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
I agree. Here's the link: http://aspose.com/file-tools
subject: Fundamental Question of XML
It's not a secret anymore!