This is a tree browser to demonstrate several functions of XLink and XPointer. As it is written in Java, it can be executed on many platforms. This application uses XLink Processor(XLiP) to process XLink and XPointer.
To run this demo application, you need to take following steps.
To browse an XML document, you need to take following steps.
Then you will see a tree root node of the document. You can see sub nodes of the root node by double clicking the root node.
This application clearly shows starting resources by changing the icon color of the node to red. Note that the icon color of the starting resource is always red whether the actuate attribute is "onRequest" or not.
There are two ways to start traversal.
If you start simple link's traversal, the application directly jumps to the ending resource. Otherwise, following steps occurs.
If traversal starts, you will see the dialog which shows a list of arcs and radio buttons. You can start traversal from the list. The radio buttons indicate the type of show.
Then if you select one of the items in the list, select the show type and press the "traversal" button, you will see another dialog which shows the locators list which has information about each ending resource.
After you select one of the items in the list, the traversal action to the selected ending resource is actuated.
NOTE: Characters displayed in both lists indicate the value of the related title attribute.
NOTE: This simple procedure only exist to show the concept of XLink. It is easy to customize these actions more intuitively.
This application provides XPointer addressing functions. After browsing a XML documents, press "Search with XPointer...". Then you will see a dialog box which has one input field. Input XPointer syntax in the field and press "OK" button. You will see the addressing result as highlighting them.
Embed operation fails if once an inserted node has been expanded before the operation.
You must read LICENSE. If you accept the license agreement, please go to Download.