Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 236463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:20:49+00:00 2026-05-11T20:20:49+00:00

What is the benefit of using attribute groups over attributes in defining an XSD

  • 0

What is the benefit of using attribute groups over attributes in defining an XSD Schema?

Ok… so I can declare them elsewhere and reference them…

What else?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:20:49+00:00Added an answer on May 11, 2026 at 8:20 pm

    Basically, as cbp says, you can re-use them. It’s also easier to make modifications to the attributes of multiple elements this way.
    In general, I myself sometimes use them when I have several elements that are reasonable similar, except for the name and a few other attributes. Thus, those elements all share one or more attribute groups and sometimes have additional attributes.

    Example: you’re exporting a database with 40 tables. All tables have an ID as identifier and a few have a start/end date. There are also attributes for the other fields. So you can create one attribute group for the ID, adding restrictions to that group as need be. A second attribute group would be created for the dates including their restrictions. Maybe the database structure even allows some more groupings.
    An alternative method would be by creating new complex types, but if you want to add child elements to your element then you need to add those to the complex type too. And you might not want to have all your elements use the same complex type, thus attribute groups are useful where you can’t use complex types to add similar groups of attributes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What's benefit using jQuery Autocomplete over Ajax AutoCompleteExtender? Can some one explains the benefits
Is there any significant benefit of using schema 1.1 over 1.0?
Is there any benefit in using a <blockquote> element over a <div> ? I
Is there a benefit to using one over the other? In Python 2, they
Is there any benefit to using .click() over .bind('click') or vice-versa besides the amount
What's the benefit of using InputStream over InputStreamReader , or vice versa. Here is
Is there a benefit of using one over the other ? $lang = isset($_COOKIE['lang'])
Using c#, How can I take benefit of using nullable value types when I
What is the benefit of using the servletContext as opposed the request in order
What is the benefit of using singleton instead of global for database connections in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.