IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Creating a schema

    Posted Tue September 03, 2002 10:12 AM

    Hi everybody! Does anybody know how can i build a schema that support this xml document?

    -----------------------

    1
    2

    -----------------------

    Probably it’s a stupid question, but the Schema Editor returned me errors about attributes “minOccurs” and “maxOccurs”.

    Thanks.


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: Creating a schema

    Posted Tue September 03, 2002 10:35 AM

    Hi Miguel,

    for element you set minOccurs to 0 or 1 and maxOccurs to unbounded.

    Enclosed is the sample schema for your xml example.
    a.tsd (796 Bytes)


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: Creating a schema

    Posted Tue September 03, 2002 11:08 AM

    Ok, thank you very much. The problem was that i was using an all node instead of a sequence.


    #Tamino
    #API-Management
    #webMethods