For example i have a DTD
DTD:
<!ELEMENT tbl EMPTY>
<!ATTLIST tbl tableWidth CDATA "0">
<!ELEMENT MyImage EMPTY>
<!ATTLIST MyImage source CDATA "sample.png">
Valid XML:
<tbl tableWidth ="100" />
<MyImage source="image.png"/>
Now in CSS for element tbl I can specify it as
tbl {
display: table;
}
This means that element tbl should be displayed as table. But if we want to display MyImage element as image how can we do that? Image should come from source attribute. As there is no image value for display css property.