Re: Duplicate attributes

2005-01-21 Thread David Cargill
No. An element cannot have duplicate attributes. The XML Spec states (http://www.w3.org/TR/2004/REC-xml-20040204/#dt-attrname) Well-formedness constraint: Unique Att Spec An attribute name MUST NOT appear more than once in the same start-tag or empty-element tag. David

Duplicate attributes

2005-01-21 Thread Xiaofan Zhou
Hi, all,   Not sure if this is the place to ask this, but I would like to know if it is valid for an XML element to have duplicate attributes.   Thanks in advance.   Frank