how to create attributes without value

admin

Administrator
Staff member
I was wondering if there is a way to create a valueless attribute in xml.
I know they say all the time that every XHTML attribute must have a value, even if it does not have to have one under HTML. In this case it will be something like attribute="attribute" (I don't remember the exact example all the books use).
And I'm fine with having that (attribute="attribute") in my xml document. My question is how do I create a schema for this attribute? Any ideas?

thanks
dima
ps. let me know if you have trouble understanding what I'm talking about and I will try to give you more info, just don't want to throw all the ideas I have at you from the start...
 
Back
Top