OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] RE : [xml-dev] Comparison of Xml documents

[ Lists Home | Date Index | Thread Index ]

John Cowan wrote:
>Which of course is exactly what (foo|bar|baz)* is.

  Foobar ::= [NAME AS UNCAPITALIZED] SEQUENCE OF CHOICE{
    foo UTF8String,
    bar UTF8String,
    baz UTF8String
  }

Or: (foo|bar)* baz = 

  Foobar ::= [NAME AS UNCAPITALIZED] SEQUENCE {
    mumble [UNTAGGED] SEQUENCE OF CHOICE{
      foo UTF8String,
      bar UTF8String
    },
    baz UTF8String
  }

Or, if you didn't care which came first, the (foo|bar)* or the baz,
then:

  Foobar ::= [NAME AS UNCAPITALIZED] SET {
    mumble [UNTAGGED] SEQUENCE OF CHOICE{
      foo UTF8String,
      bar UTF8String
    },
    baz UTF8String
  }

		bob wyman





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS