Nodes can have links. The link will then be displayed in the frame.
diputree can define the default target frame to use when displaying the link.
There is a shortcut for the source of the link.
diagram of <link> and diagram of <hasdestination>
<diputree> <has> <l> <lt>click me!</lt> <haslink> <link> <hassource> <uri> <s>link.gif</s> </uri> </hassource> <hasdestination> <target> <s>myframe</s> </target> </hasdestination> </link> </haslink> </l> </has> </diputree> |
<diputree>
<has>
<l>
<lt>click me!</lt>
the haslink relation between the leaf and the link
<haslink>
<link>
the hassource relation between the link and the Uniform Resource Identifier (uri)
<hassource>
<uri>
the string relation between uri and "link.gif"
<s>link.gif</s>
</uri>
</hassource>
the hasdestination relation between the link and the target
<hasdestination>
<target>
the string relation between target and "myframe"
<s>myframe</s>
</target>
</hasdestination>
</link>
</haslink>
</l>
</has>
</diputree>
<diputree> <hasdestination> <target> <s>myframe</s> </target> </hasdestination> <has> <l> <lt>click me!</lt> <haslink> <link> <hassource> <uri> <s>link.gif</s> </uri> </hassource> </link> </haslink> </l> </has> </diputree> |
<diputree>
the hasdestination relation between diputree and the target, this will be the default destination for all links who doesn't explicitly define their own targets.
<hasdestination>
<target>
the string relation between target and "myframe"
<s>myframe</s>
</target>
</hasdestination>
<has>
<l>
<lt>click me!</lt>
<haslink>
<link>
<hassource>
<uri>
<s>link.gif</s>
</uri>
</hassource>
</link>
</haslink>
</l>
</has>
</diputree>
<diputree> <has> <l> <lt>click me!</lt> <ls>link.gif</ls> </l> </has> </diputree> |
<diputree>
<has>
<l>
<lt>click me!</lt>
the link source shortcut relation between the leaf and "link.gif"
<ls>link.gif</ls>
</l>
</has>
</diputree>