[topicmapmail] Multiple scopes for one occurence in XTM-Topicmap

Armin Wagenknecht web.de armin.wagenknecht@web.de
Tue, 4 May 2004 13:32:54 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_007F_01C431DC.4E11C4D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

i am modelling a TopicMap, and I have the following problem:

I want to use two scopes in the topicmap for one occurence which has to =
satsify BOTH scopes!!

Example:

I have the textdocument "behaviour in school"  which is only valble for =
school-buildings in the State of California.

Scope-Topic: California
Scope-Topic: school-building=20

Occurence-Topic: textdocument

This Code covers only the scope "California" (anotherone would cover =
only the scope "school-building"):

-----------------------------------------------
<topic id=3D"example" >
 =20
  <baseName>
   <baseNameString>
  EXAMPLE
  </baseNameString>
  </baseName>
  <occurrence>
   <instanceOf>
    <topicRef xlink:href=3D"#textdocument"/>
   </instanceOf>
   <scope><topicRef xlink:href=3D"#California"/></scope>=20
   <resourceRef xlink:href=3D"c:\data\behaviour_in_school.txt"/>
  </occurrence>

--------------------------------------

I would be very happy if someone have the solution for this problem.

Armin Wagenknecht, student at TU Darmstadt, Germany

------=_NextPart_000_007F_01C431DC.4E11C4D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>i am modelling a TopicMap, and I have =
the following=20
problem:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I want to use two scopes in the =
topicmap for one=20
occurence which has to satsify BOTH scopes!!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Example:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have the textdocument "behaviour in =
school"&nbsp;=20
which is only valble for school-buildings in the State of=20
California.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Scope-Topic: California<BR>Scope-Topic: =

school-building </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Occurence-Topic: =
textdocument</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This Code covers only the scope =
"California"=20
(anotherone would cover only the scope "school-building"):</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>-----------------------------------------------<BR>&lt;topic =
id=3D"example"=20
&gt;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;&lt;baseName&gt;<BR>&nbsp;&nbsp;&nbsp=
;&lt;baseNameString&gt;<BR>&nbsp;&nbsp;EXAMPLE<BR>&nbsp;&nbsp;&lt;/baseNa=
meString&gt;<BR>&nbsp;&nbsp;&lt;/baseName&gt;<BR>&nbsp;&nbsp;&lt;occurren=
ce&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;instanceOf&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp=
;&lt;topicRef=20
xlink:href=3D"#textdocument"/&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;/instanceOf&gt=
;<BR>&nbsp;&nbsp;&nbsp;&lt;scope&gt;&lt;topicRef=20
xlink:href=3D"#California"/&gt;&lt;/scope&gt;=20
<BR>&nbsp;&nbsp;&nbsp;&lt;resourceRef=20
xlink:href=3D"c:\data\behaviour_in_school.txt"/&gt;<BR>&nbsp;&nbsp;&lt;/o=
ccurrence&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>--------------------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I would be very happy if someone have =
the solution=20
for this problem.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Armin Wagenknecht, student at TU =
Darmstadt,=20
Germany<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_007F_01C431DC.4E11C4D0--