tags:

views:

39

answers:

0

in xml can any concept inhert the attribute of the main concept as an example:

<Books>
    <TITLE datatype="string"> </TITLE>
    <author datatype="string"> </author>
    <binding datatype="string"> </binding>
    <ISBN datatype="Nmtoken"></ISBN>
    <Publisher datatype="token"></Publisher>              

   <TextBooks> </TextBooks> 
</Books>

can textbook take the same attribute of book and how? another question if the attribute is a compound noun (i mean two or more words) such as family line it gave me an error when i save it as xml how can i deal with this situation?