[topicmapmail] basics

Lieberknecht, Katharina Katharina.Lieberknecht@astrium-space.com
Mon, 26 May 2003 14:25:54 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--------------InterScan_NT_MIME_Boundary
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C32381.F3CEBFC6"

------_=_NextPart_001_01C32381.F3CEBFC6
Content-Type: text/plain

Hello, just a newbie with thousand and one basic questions ...

1. What kind of value do I give best to ids?
	a) alphanumeric (as shown below) or
	b) rather the name of the object (id="device")

2. The xtm dtd provides an id for each element.
    What is the consequence (for applications, queries, etc.)
    if I give an id to e.g. baseName or if I omit it?

3. Below is a example for the use of baseName and variant, scopes and topic
types.
    Is this the correct way to use it?


<!--Topic Templates (classes)-->
<topic id="te02">
	<baseName>
		<scope><!--Scope TS - english--><topicRef
xlink:href="#ts01"/></scope>
		<baseNameString>activity</baseNameString>
		<variant><parameters><!--Parameter TT - display--><topicRef
xlink:href="#tt01"/></parameters>
	
<variantName><resourceData>Activity</resourceData></variantName>
		</variant>
		<variant><parameters><!--Parameter TT - synonym--><topicRef
xlink:href="#tt02"/></parameters>
	
<variantName><resourceData>Process</resourceData></variantName>
		</variant>
	</baseName>
	<baseName>
		<scope><!--Scope TS - german--><topicRef
xlink:href="#ts02"/></scope>
		<baseNameString>activity</baseNameString>
		<variant><parameters><!--Parameter TT - display--><topicRef
xlink:href="#tt01"/></parameters>
	
<variantName><resourceData>Vorgang</resourceData></variantName>
		</variant>
	</baseName>
</topic>

<topic id="te01">
	<baseName id="id01b01">
		<scope><!--Scope TS - english--><topicRef
xlink:href="#ts01"/></scope>
		<baseNameString>device</baseNameString>
		<variant><parameters><!--Parameter TT - display--><topicRef
xlink:href="#tt01"/></parameters>
	
<variantName><resourceData>Device</resourceData></variantName>
		</variant>
	</baseName>
	<baseName>
		<scope><!--Scope TS - german--><topicRef
xlink:href="#ts02"/></scope>
		<baseNameString>device</baseNameString>
		<variant><parameters><!--Parameter TT - display--><topicRef
xlink:href="#tt01"/></parameters>
	
<variantName><resourceData>Vorrichtung</resourceData></variantName>
		</variant>
	</baseName>
</topic>

<!-- Instances -->
<topic id="ti01">
	<instanceOf><topicRef xlink:href="#te01"/></instanceOf>
	<baseName><baseNameString>switch B11</baseNameString></baseName>
</topic>



<!--Topic Types -->
<topic id="tt01">
	<baseName><baseNameString>display</baseNameString></baseName>
</topic>
<topic id="tt02">
	<baseName><baseNameString>synonym</baseNameString></baseName>
</topic>


<!-- Scopes -->
<topic id="ts01">
	<baseName>
		<baseNameString>en</baseNameString>
	</baseName>
</topic>
<topic id="ts02">
	<baseName>
		<baseNameString>de</baseNameString>
	</baseName>
</topic>



greetings
Kathy


------_=_NextPart_001_01C32381.F3CEBFC6
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.19">
<TITLE>basics</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello, just a newbie with thousand and =
one basic questions ...</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">1. What kind of value do I give best =
to ids?</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">a) alphanumeric (as shown below) or</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">b) rather the name of the object =
(id=3D&quot;device&quot;)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">2. The xtm dtd provides an id for each =
element.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; What is the =
consequence (for applications, queries, etc.)</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; if I give an id to =
e.g. baseName or if I omit it?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">3. Below is a example for the use of =
baseName and variant, scopes and topic types.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; Is this the =
correct way to use it?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">&lt;!--Topic Templates =
(classes)--&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;topic =
id=3D&quot;te02&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;scope&gt;&lt;!--Scope TS - english--&gt;&lt;topicRef =
xlink:href=3D&quot;#ts01&quot;/&gt;&lt;/scope&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseNameString&gt;activity&lt;/baseNameString&gt;</FO=
NT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variant&gt;&lt;parameters&gt;&lt;!--Parameter TT - =
display--&gt;&lt;topicRef =
xlink:href=3D&quot;#tt01&quot;/&gt;&lt;/parameters&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variantName&gt;&lt;resourceData&gt;Activity&lt;/resou=
rceData&gt;&lt;/variantName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/variant&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variant&gt;&lt;parameters&gt;&lt;!--Parameter TT - =
synonym--&gt;&lt;topicRef =
xlink:href=3D&quot;#tt02&quot;/&gt;&lt;/parameters&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variantName&gt;&lt;resourceData&gt;Process&lt;/resour=
ceData&gt;&lt;/variantName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/variant&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/baseName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;scope&gt;&lt;!--Scope TS - german--&gt;&lt;topicRef =
xlink:href=3D&quot;#ts02&quot;/&gt;&lt;/scope&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseNameString&gt;activity&lt;/baseNameString&gt;</FO=
NT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variant&gt;&lt;parameters&gt;&lt;!--Parameter TT - =
display--&gt;&lt;topicRef =
xlink:href=3D&quot;#tt01&quot;/&gt;&lt;/parameters&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variantName&gt;&lt;resourceData&gt;Vorgang&lt;/resour=
ceData&gt;&lt;/variantName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/variant&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/baseName&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;/topic&gt;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&lt;topic =
id=3D&quot;te01&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseName id=3D&quot;id01b01&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;scope&gt;&lt;!--Scope TS - english--&gt;&lt;topicRef =
xlink:href=3D&quot;#ts01&quot;/&gt;&lt;/scope&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseNameString&gt;device&lt;/baseNameString&gt;</FONT=
>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variant&gt;&lt;parameters&gt;&lt;!--Parameter TT - =
display--&gt;&lt;topicRef =
xlink:href=3D&quot;#tt01&quot;/&gt;&lt;/parameters&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variantName&gt;&lt;resourceData&gt;Device&lt;/resourc=
eData&gt;&lt;/variantName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/variant&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/baseName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;scope&gt;&lt;!--Scope TS - german--&gt;&lt;topicRef =
xlink:href=3D&quot;#ts02&quot;/&gt;&lt;/scope&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseNameString&gt;device&lt;/baseNameString&gt;</FONT=
>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variant&gt;&lt;parameters&gt;&lt;!--Parameter TT - =
display--&gt;&lt;topicRef =
xlink:href=3D&quot;#tt01&quot;/&gt;&lt;/parameters&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;variantName&gt;&lt;resourceData&gt;Vorrichtung&lt;/re=
sourceData&gt;&lt;/variantName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/variant&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/baseName&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;/topic&gt;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&lt;!-- Instances --&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;topic =
id=3D&quot;ti01&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;instanceOf&gt;&lt;topicRef =
xlink:href=3D&quot;#te01&quot;/&gt;&lt;/instanceOf&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseName&gt;&lt;baseNameString&gt;switch =
B11&lt;/baseNameString&gt;&lt;/baseName&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;/topic&gt;</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">&lt;!--Topic Types --&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;topic =
id=3D&quot;tt01&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseName&gt;&lt;baseNameString&gt;display&lt;/baseNam=
eString&gt;&lt;/baseName&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;/topic&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;topic =
id=3D&quot;tt02&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseName&gt;&lt;baseNameString&gt;synonym&lt;/baseNam=
eString&gt;&lt;/baseName&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;/topic&gt;</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">&lt;!-- Scopes --&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;topic =
id=3D&quot;ts01&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseNameString&gt;en&lt;/baseNameString&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/baseName&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;/topic&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;topic =
id=3D&quot;ts02&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseName&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;baseNameString&gt;de&lt;/baseNameString&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">&lt;/baseName&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;/topic&gt;</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">greetings</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Kathy</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C32381.F3CEBFC6--

--------------InterScan_NT_MIME_Boundary--