ZVON > Tutorials > XLink - Extended Links |
Intro / Search / ZVON |
Prev | Next | | [Help] |
Arcrole attribute |
<mythology xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="extended"> <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" xlink:label="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" xlink:label="zeus"> </god> <relation xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="arc" xlink:from="zeus" xlink:to="heracles" xlink:arcrole="http://www.greece.antique/relations/father"> </relation> </mythology> |
Error - illegal value of the arcrole attribute |
<relation xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="arc" xlink:from="zeus" xlink:to="heracles" xlink:arcrole="is father of"> </relation> ... |
For human-readable description use title-type element(s) or attribute |
<relation xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="arc" xlink:from="zeus" xlink:to="heracles" xlink:arcrole="http://www.greece.antique/relations/father" xlink:title="is father of"> </relation> ... |