xml schema group

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lexul
    New Member
    • May 2007
    • 7

    xml schema group

    this is the dtd representation of what i need to convert in xml schema:
    <!ELEMENT Atomic (CmdID, NoResp?, Meta?, (Add | Replace | Delete | Copy | Atomic | Map | Move | Sequence | Sync | Get | Exec | Alert)+)>

    That is, I want to allow every element inside the paranthesis to be present no matter how many times(without this being necessary), as long as at least one of them is present at least once.

    Any help will be appreciated:)
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by lexul
    this is the dtd representation of what i need to convert in xml schema:
    <!ELEMENT Atomic (CmdID, NoResp?, Meta?, (Add | Replace | Delete | Copy | Atomic | Map | Move | Sequence | Sync | Get | Exec | Alert)+)>

    That is, I want to allow every element inside the paranthesis to be present no matter how many times(without this being necessary), as long as at least one of them is present at least once.

    Any help will be appreciated:)
    I have two links for you, lexul!

    XML Schema Tutorial


    For DTD Tutorial

    Sorry! We can't seem to find the resource you're looking for

    Comment

    Working...