ZVON > Tutorials > XLink - Extended Links |
Intro / Search / ZVON |
Prev | Next | | [Help] |
Role attribute |
<hero xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="locator" xlink:href="http://www.greece.antique/database/heracles.xml" xlink:role="http://www.greece.antique/hero" xlink:title="Heracles"> </hero> <god xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="locator" xlink:href="http://www.greece.antique/database/zeus.xml" xlink:role="http://www.greece.antique/god" xlink:title="Zeus"> </god> <woman xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="locator" xlink:href="http://www.greece.antique/database/alcmene.xml" xlink:role="http://www.greece.antique/woman" xlink:title="Alcmene"> </woman> |
Error - illegal value of the role attribute |
<hero xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="locator" xlink:href="http://www.greece.antique/database/heracles.xml" xlink:role="Ancient mythic hero" xlink:title="Heracles"> </hero> |