Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fundamental Question of XML

 
Hoyin Chan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not very sure about the *, +, | and () used to identify the quatity of the element.
Like:
If the DTD is: <!ELEMENT tag1 (tag2 | tag3*)+>
What does this mean??
Is it correct to say
  <tag1>
    <tag2>
    </tag2>
    <tag2>
    </tag2>
  </tag1>
?
And can I use both tag2 and tag3 inside tag1?
[ July 10, 2004: Message edited by: Hoyin Chan ]
 
Blake Minghelli
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might find this DTD tutorial helpful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic