Populate xml attribute three times in xml

Discussion in 'XML' started by Stylish, Apr 22, 2020.

  1. Stylish

    Stylish

    Joined:
    Apr 22, 2020
    Messages:
    1
    Likes Received:
    0
    Hi Team,

    Need to populate xml attribute three times in xml.So what changes need to be done in xsd.
     
    Stylish, Apr 22, 2020
    #1
    1. Advertisements

  2. Stylish

    sunfighter

    Joined:
    Nov 27, 2019
    Messages:
    102
    Likes Received:
    12
    use the min.maxOccurs
    ex:
    Code (Text):

    <xs:element name="author"
               type="xs:string"
               minOccurs="1"
               maxOccurs="3" />
     
     
    sunfighter, Apr 23, 2020
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.