I use the XML format, which is a combination of various existing formats and some user elements and attributes, and I thought I should write a schema for these user bits.
One thing I do is use custom attributes for elements in existing formats, for example:
<ns1:something attA="b" attB="a" ns2:extraAtt="c"/>
I understand that this is permitted, but I cannot imagine how to declare my "extraAtt" in an XML schema or, even worse, in a DTD.
I tried to read the spec , but it could be as well written in Chinese as I know. Most manuals only talk about “name,” “type,” and “use,” for example. this and this .
scozy source share