Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If this is possible to have a single ATTLIST that applies to more than one element in XML? In fact, I want to know if there is any mechanism to define global attributes. If it's not possible, what are the alternative solutions?
Posted
Updated 5-Feb-15 1:07am
v2

1 solution

Yes, it is possible. Take a look at this article: Common Attributes[^]

Quote:
Provide a set of attributes that can be placed on all, or most, elements in the document type.
 
Share this answer
 
Comments
Eilia98 6-Feb-15 0:46am    
@_Dude_, Thanks for the answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900