This is an example that i have to do.
It supose that i have this dtd:
<!ELEMENT car(name, price, color, description)>
<!ELEMENT price (#PCDATA)>
<!ELEMENT color (#PCDATA)>
<!ELEMENT description (#PCDATA)>
and i have this text in a quark document:
Ferrari Red, only $90000. This car is a
demon, it is the best sport car in the world.
I wanna obtain as result:
<car>
<name>Ferrari</name>
<price>$90000</price>
<color>red</color>
<description>This car is a <italic>demon</italic>, it is the best sport car in the world.</description>
I dont know how i have to do the tag rule for doing that the words what has a italic format, in the xml files appears with the tags <italic></italic>. Is it my dtd ok? or i have to add something?
Thanks