DTD and attributes
XML / XSL
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, Can anyone tell me if it's possible, by using DTD to prevent elements having identical attribute content. The element and attribute names can be identical as shown in the example below. e.g., this should cause validation to fail ... <MyElem MyAttrib="10"/> <MyElem MyAttrib="10"/> Thanks !
-
Hi, Can anyone tell me if it's possible, by using DTD to prevent elements having identical attribute content. The element and attribute names can be identical as shown in the example below. e.g., this should cause validation to fail ... <MyElem MyAttrib="10"/> <MyElem MyAttrib="10"/> Thanks !