//
// This Topic Map was automatically generated
// using Javascript.

var top1,oc,sc,a1,mem
var map=new topicMap('')

//================= Topics ============
add_topic(map,"tt-urtype","Ur-Type","")
add_topic(map,"tt-topicmap","Topic Map Type","tt-urtype")
add_topic(map,"tt-assoc","Association Type","tt-urtype")
add_topic(map,"tt-role","Role Type","tt-urtype")
add_topic(map,"tt-occur","Occurrence Type","tt-urtype")
add_topic(map,"tt-scope","Scope Type","tt-urtype")
add_topic(map,"st-unconstrained","All-scopes","tt-scope")
add_topic(map,"ot-descr","Description","tt-occur")
add_topic(map,"ot-note","Note","tt-occur")
add_topic(map,"ot-homepage","Home page","tt-occur")
add_topic(map,"ot-about","About","tt-occur")
add_topic(map,"at-chapter","Chapter Association","tt-assoc")
add_topic(map,"tt-section","Section Type","tt-urtype")
add_topic(map,"rt-chapter","Chapter","tt-role")
add_topic(map,"rt-section","Section","tt-role")
add_topic(map,"ot-title","Title","tt-occur")
add_topic(map,"ot-num","Number","tt-occur")
add_topic(map,"st-chapter","Chapter","tt-scope")
add_topic(map,"st-limitation","Limitation","tt-scope")
add_topic(map,"st-bug","Bug","tt-scope")
add_topic(map,"st-feature","Feature","tt-scope")
add_topic(map,"t-intro-1","Introduction 1 - the Topic Map Browser","tt-section")
add_topic(map,"ot-content","Content","tt-occur")
add_topic(map,"st-quirk","Quirk","tt-scope")
add_topic(map,"t-intro-2","Introduction 2 - Features","tt-section")
add_topic(map,"t-intro-3","Introduction 3 - Limitations","tt-section")
add_topic(map,"t-chapt-1-intro","Chapter 1 Intro","tt-section")
add_topic(map,"t-chap-1-loadmao","Chapter 1 - Load A Map","tt-section")
add_topic(map,"t-chap1-topic-centric","Chapter 1 - Browser Association Centric","tt-section")
add_topic(map,"st-load-map","Load Map","tt-scope")
add_topic(map,"st-browse-map","Browse Map","tt-scope")
add_topic(map,"t-chap1-apply-scope","Chapter 1 - Apply A Scope","tt-section")
add_topic(map,"st-filter-by-scope","Filter By Scope","tt-scope")
add_topic(map,"t-intro-4","Introduction 4 - Bugs","tt-section")
add_topic(map,"t-chap1-report","Chapter 1 - Create Report","tt-section")
add_topic(map,"st-report","Report","tt-scope")
add_topic(map,"st-assoc","Association","tt-scope")
add_topic(map,"t-chap2-intro","Chapter 2 - Introduction","tt-section")
add_topic(map,"t-chap2-load","Chapter 2 - Create New Map","tt-section")
add_topic(map,"t-user-guide","The User Guide","tt-urtype")
add_topic(map,"at-report","Report Association","tt-assoc")
add_topic(map,"st-user-guide","User Guide","tt-scope")
add_topic(map,"rt-head","Head","tt-role")

//================= Occurrences ============
add_occur(map,'t-intro-1','ot-num','st-chapter','',"1")
add_occur(map,'t-intro-1','ot-title','st-chapter','',"The Topic Map Browser")
add_occur(map,'t-intro-1','ot-content','st-chapter','',"The Topic Map Browser lets you create and browse small to medium size topic maps (a few dozen to a few hundred topics and associations).  The Browser can export its maps to the standard XTM format, and, using a two-step process, and also import XTM or ISO-XML format maps.    \n    \nThe Topic Map Browser works in a standard web browser.  Currently Internet Explorer 5.5 (and  up) and Mozilla/Netscape 6+ support all the features.  Mozilla  brings a cross-platform capability plus much faster operation than Internet Explorer.")
add_occur(map,'t-intro-2','ot-num','st-chapter','',"2")
add_occur(map,'t-intro-2','ot-title','st-chapter','',"Features")
add_occur(map,'t-intro-2','ot-content','st-chapter','',"The Topic Map Browser is a general-purpose application, intended to help you create topic maps and to experiment with Topic Map features like scopes.      \n    \nHere are the main features of the Browser:    \n    \n1) Export/import topic maps, including XTM format.    \n2) Display sorted list of topics (by name).    \n3) Filter the displayed list of topics by one or more scopes.    \n4) Display occurrences of selected topics.    \n5) Display list of associations,    \n6) Filter the displayed list of associations.    \n7) Display topics that play a role in a selected association.    \n8) Define new topics, associations, occurrences, role types, and scoping topics.    \n9) Create new topics, associations, and occurrences.    \n10) Change topic names and types.    \n11) Delete Topics.    \n12) Assign scopes to topics, associations, and occurrences.    \n13) Change the content of occurrences.    \n14) Create an HTML report of all topics and their occurrences, possibly filtered by scope.    \n15) Create an HTML report of topics and their related associations, possibly filtered by scope.    \n16) For any topic, show all related associations and their respective related topics (the topics from the various associations stay separated) in a compact, readable display.  In this display, the occurrrences of any of the related topics can also be displayed.")
add_occur(map,'t-intro-3','ot-num','st-chapter','',"3")
add_occur(map,'t-intro-3','ot-title','st-chapter','',"Limitations")
add_occur(map,'t-intro-3','ot-content','st-chapter','',"Limitations of the Browser.  Many of these are limitations of the user interface rather than of the underlying topic map engine.  \n\n1) Relatively slow because it is written in Javascript and runs in a web browser.  This is the main reason that it is not good for large maps.  However, the engine could be ported to, say, Python with little trouble and should then have much better performance.  However, you then have to create a user interface whereas the web browser provides a universally available UI. \n\n2) Only a single basename - the first one if a topic has more than one- is displayed.  This is to keep the UI simple.   \n  \n3) Variant names are not supported. \n\n4) Subject indicators are not yet supported.   Neither are PSIs. \n\n5) The engine does not understand class-subclass relationships yet (they can be assigned using associations but would mean nothing to the engine).  Because of this, a convention is used that assigns a \"scope type\" to a scoping topic, a \"role type\" to a role topic, etc.,  in lieu of an actual class-subclass relationship, to inform the UI about which topics are intended to be used as scopes, etc.  This limitation will be lifted at some point.    \n\n6) In some cases a generated id is assigned to a topic or association (if it does not have one of its own).  This is necesssary to have something unique to display and to use in indexes.  This generated id will be included in the exported XTM.    \n\n7) There is no query language available.   \n\n8) Import and export are done by pasting or copying text in an textarea element.  This gets around the inability of a standard web browser to read/write local files without having to use java or activeX controls.\n\n9) Only one instanceOf is supported for topics.  This is a limitation of the engine design, not just the UI.  This limitation could be removed, but there are no plans to do so at present.\n\n10) Pasting text into a textarea HTML element can be slow for large text sizes.  For example, the engine will handle the well-known Operas topic map, which has something like 700 topics, but the browser may die trying to ingest this much text (i.e., the javascript version of the topic map).\n\nIf you want to load such a  larger map, you should do in by importing the javascript source (see chapters 1 and 3) in the frameset file, rather than by pasting it into th textarea element.\n\n11) The Role-player select box in the \"Associations\" window is not sorted alphabetically.")
add_occur(map,'t-intro-4','ot-title','st-bug','',"Bugs")
add_occur(map,'t-intro-4','ot-num','st-chapter','',"4")
add_occur(map,'t-intro-4','ot-content','st-bug','',"Known Bugs -\n\n1) For XTM export, all text content of occurrences is wrapped in CDATA sections.  Mozilla (as of version 0.9.7) has a bug whereby the leading  are omitted.  They are supplied in Internet Explorer 5.5.\n\nTherefore, if you export to XTM using Mozilla, you will need to fix this in a text editor using global search and replace.\n")

//================ Scopes ===================
top1=map.getTopicById('t-intro-1')
top1.nameList[0].addScope(new scope("st-chapter"))

top1=map.getTopicById('t-intro-2')
top1.nameList[0].addScope(new scope("st-chapter"))

top1=map.getTopicById('t-intro-3')
top1.nameList[0].addScope(new scope("st-chapter"))

top1=map.getTopicById('t-chapt-1-intro')
top1.nameList[0].addScope(new scope("st-chapter"))

top1=map.getTopicById('t-chap-1-loadmao')
top1.nameList[0].addScope(new scope("st-chapter"))

top1=map.getTopicById('t-chap-1-loadmao')
top1.nameList[0].addScope(new scope("st-load-map"))

top1=map.getTopicById('t-chap1-topic-centric')
top1.nameList[0].addScope(new scope("st-chapter"))

top1=map.getTopicById('t-chap1-topic-centric')
top1.nameList[0].addScope(new scope("st-assoc"))

top1=map.getTopicById('t-chap1-apply-scope')
top1.nameList[0].addScope(new scope("st-chapter"))

top1=map.getTopicById('t-chap1-apply-scope')
top1.nameList[0].addScope(new scope("st-filter-by-scope"))

top1=map.getTopicById('t-intro-4')
top1.nameList[0].addScope(new scope("st-chapter"))

top1=map.getTopicById('t-intro-4')
top1.nameList[0].addScope(new scope("st-bug"))

top1=map.getTopicById('t-chap1-report')
top1.nameList[0].addScope(new scope("st-chapter"))

top1=map.getTopicById('t-chap1-report')
top1.nameList[0].addScope(new scope("st-report"))

top1=map.getTopicById('t-user-guide')
top1.nameList[0].addScope(new scope("st-user-guide"))

top1=map.getTopicById('t-user-guide')
top1.nameList[0].addScope(new scope("st-report"))


//================ Associations ================
a1=new association('a-intro')
a1.instanceOf='at-chapter'
mem=new member('rt-section')
mem.addPlayer(map.getTopicById('t-intro-1'))
mem.addPlayer(map.getTopicById('t-intro-2'))
mem.addPlayer(map.getTopicById('t-intro-3'))
mem.addPlayer(map.getTopicById('t-intro-4'))
a1.addMember(mem)

a1.addScope(new scope('st-unconstrained'))
a1.addScope(new scope('st-chapter'))

map.addAssoc(a1)

a1=new association('a-chap-1')
a1.instanceOf='at-chapter'
mem=new member('rt-section')
mem.addPlayer(map.getTopicById('t-chapt-1-intro'))
mem.addPlayer(map.getTopicById('t-chap-1-loadmao'))
mem.addPlayer(map.getTopicById('t-chap1-topic-centric'))
mem.addPlayer(map.getTopicById('t-chap1-apply-scope'))
mem.addPlayer(map.getTopicById('t-chap1-topic-centric'))
mem.addPlayer(map.getTopicById('t-chap1-report'))
a1.addMember(mem)

a1.addScope(new scope('st-unconstrained'))
a1.addScope(new scope('st-chapter'))

map.addAssoc(a1)

a1=new association('a-chap-2')
a1.instanceOf='at-chapter'
mem=new member('rt-section')
mem.addPlayer(map.getTopicById('t-chap2-intro'))
mem.addPlayer(map.getTopicById('t-chap2-load'))
a1.addMember(mem)

a1.addScope(new scope('st-unconstrained'))
a1.addScope(new scope('st-chapter'))

map.addAssoc(a1)

a1=new association('a-user-guide')
a1.instanceOf='at-report'
mem=new member('rt-chapter')
mem.addPlayer(map.getTopicById('t-intro-1'))
mem.addPlayer(map.getTopicById('t-chapt-1-intro'))
mem.addPlayer(map.getTopicById('t-chap2-intro'))
a1.addMember(mem)

mem=new member('rt-head')
mem.addPlayer(map.getTopicById('t-user-guide'))
a1.addMember(mem)

a1.addScope(new scope('st-unconstrained'))
a1.addScope(new scope('st-user-guide'))

map.addAssoc(a1)

//