My first tiny topic map

This is a simple trial with topic maps. Unfinished/underused/whatever, I started learning about topic maps TODAY. I am aware that the ontology is a random thing. I even don't know if my topic map is semantically valid ! (didn't find such a validator so far).

Click on all files :)

  1. Directory tm: Click on this link to browse the topic map generated with xtm2xhtml, an xslt style-sheet written by Stefan Mintert.
  2. File topic-maps-test1.xml: The XML source file. If your browser doesn't show it, use "View Source", e.g. under Mozilla
  3. http://www.mintert.com/topicmaps/xtm2xhtml/: The XSLT stylesheet that you must process with Saxon (it uses extensions that will not work with client-side xslt). Get THIS file from the ORIGINAL site, our copy may kill your hard disk ...
  4. I will sometimes test other tools, e.g. e.g Ontopia's Omnigator
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]HEADER.html2002-11-26 23:33 1.2K 
[TXT]README.html2002-11-26 22:08 2.3K 
[DIR]tm/2002-11-26 23:32 -  
[   ]topic-maps-test1.xml2002-11-26 23:54 13K 
[   ]xtm-template.xml2002-11-26 21:56 416  
[   ]xtm2xhtml.xslt2002-11-26 22:05 20K 

If you want to reproduce this like I did it, you must install and know XEmacs (no explanations here). Any other DTD-aware XML editor will do (there also exist topic map editors)

Here we go:

  1. Get our local copy of the XTM DTD or take it elsewhere.
  2. GET the XSLT stylesheet from: http://www.mintert.com/topicmaps/xtm2xhtml/
  3. Configure Xemacs ( under Unix )
  4. Insert something like this in file ..../xemacs-packages/etc/psgml/CATALOG if you want to do the same:
     PUBLIC "-//TopicMaps.Org//DTD XML Topic Map (XTM) 1.0//EN" /web/lib/xml/dtd/xtm1.dtd
    (change the location of the xtm1.dtd file of course !)
  5. or do this under Windows XEmacs: The dtd file xtm1.dtd goes here (and the CATALOG file is here also)
    c:\Program Files\XEmacs\xemacs-packages\etc\psgml-dtds
    The CATALOG file entry (e.g. add at the end) looks like this:
    PUBLIC "-//TopicMaps.Org//DTD XML Topic Map (XTM) 1.0//EN" xtm1.dtd
  6. Download and install Saxon. Take "Instant Saxon 6.5.2" for Windows
  7. Make sure that saxon is in the path. If you don't know what a path is, learn about it or do this workaround under Windos: type 'echo %path%' and put saxon.exe in one of the directories that show up
  8. Open a terminal window (command prompt/dos window) and type:
    mkdir tm                   (...just once, xslt needs exactly this)
    saxon topic-maps-test1.xml xtm2xhtml.xslt
    The topic maps will be in the "tm" directory (The stylesheet requires this!)
  9. For more information about topic maps visit the links in the STAF18iris portal on exotic hypertexts.
  10. Start from template file to create your own :)

Last modified: Tue Nov 26 22:08:05 MET 2002

D.K.S.