Christian Nentwich (Department of Computer Science, University College London) recently announced the public availability of an open source XLink processor 'XTooX' which supports XLink "linkbase folding." The tool processes 'XLink' links as specified by W3C XML Linking: "An XLink is similar to a link in HTML, but it is a lot more powerful: any element can behave as an XLink (as opposed to just the <a> element in HTML), a link can contain more than two endpoints (effectively linking multiple resources together), and links can be defined out-of-line, that is they do not have to be inside the files being linked. XTooX is a free XLink processor that turns extended, out-of-line links into inline links. It takes as its input a linkbase (i.e., a document containing only XLinks) and puts the links into the referenced documents. If you have a link generator that gives you a linkbase and an XSL processor, you can now produce entire web sites automatically. XTooX originated as a student project at University College London and is now maintained by Christian Nentwich. The original authors are Heenesh Patel, Alberto Ryan, Khalid Bari, Osman Maqsood, Dheraj Dagar, Chee Tan, and Majid Khan. XTooX is free software under the terms of the GNU Lesser General Public License (LGPL). The GNU Lesser General Public License allows you to link XTooX to your product, commercial or free, in its binary form, as a dynamic library." The online demo uses a sample linkbase that links together several XML documents and shows how to use XTooX to get those links into the actual documents. Alternately, you may access the interactive tool and enter a full linkbase URL for processing.
You may also need Xerces (version 1.2.* or 1.3.*, tested with 1.2.3), Xalan (version 1.*. Tested with 1.2.2), Ant (for rebuilding only, we use version 1.2), JSDK 2.* (the servlet development kit, for the servlet version ).
See also xlinkit: "xlinkit is a lightweight application service that provides rule-based link generation and checks the consistency of distributed documents and web content. It constitutes a completely new class of internet technology. xlinkit comes with a powerful, yet intuitive rule language. You tell xlinkit the documents you want to relate and rules that describe their relationships. xlinkit will then automatically generate a set of meaningful hyperlinks that can be used for navigation. It will also provide diagnostic information in case any rules have been violated..."
Principal references:
- Announcement: "XTooX - Free XLink processor." [source on XML-DEV list]
- XTooX main page
- Online interface - Enter the full Linkbase URL in the HTML form
- Interactive XTooX demo
- Sample XLink generated by xlinkit
- XTooX download page
- XTooX 1.0 source code, with LGPL license [also tar/gzip format]
- xlinkit
- Papers on 'xlinkit'
- "XML Linking Language" - Main reference page.