[topicmapmail] Occurrence resource naming
ROBERTS, Alastair
ROBERALA@BUPA.com
Mon, 6 Dec 2004 15:15:00 -0000
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.
------_=_NextPart_001_01C4DBA6.5A399516
Content-Type: text/plain
Hi guys,
I was wondering if there is a simple way of expessing a baseName for an
occurrence? At the moment I might have something like :-
<topic id="webPage">
<baseName>
<baseNameString>Web Page</baseNameString>
</baseName>
</topic>
<topic id="stressInTheWorkplace">
<baseName>
<baseNameString>Stress (In the
Workplace)</baseNameString>
</baseName>
<occurrence id="googleStressSearch">
<instanceOf>
<topicRef xlink:href="#webPage"></topicRef>
</instanceOf>
<resourceRef
xlink:href="http://www.google.com?q=stress+workplace"></resourceRef>
</occurrence>
</topic>
Which is all very well producing the occurrence
Web Page
* http://www.google.com?q=stress+workplace
<http://www.google.com?q=stress+workplace>
Whereas what I actually want to pass is something along the lines of :-
Web Page
* 'Stress' from google
Normally you could express this with xlink via a show attribute :-
<resourceRef
xlink:href="http://www.google.com?q=stress+workplace"
xlink:show="Stress search from google">
</resourceRef>
But the XML Topic Maps (XTM) 1.0 standard only supports type and href :
<!ATTLIST resourceRef
id ID #IMPLIED
xlink:type NMTOKEN #FIXED 'simple'
xlink:href CDATA #REQUIRED
>
Any ideas?
Visit http://www.bupa.com or call 0800 00 10 10 and find out what BUPA can do for you.
BUPA, the health and care people
BUPA House 15-19 Bloomsbury Way London WC1A 2BA
Internet communications are not secure and therefore BUPA does
not accept legal responsibility for the contents of this message. Any
views or opinions presented are solely those of the author and do
not necessarily represent those of BUPA.
------_=_NextPart_001_01C4DBA6.5A399516
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.2658.2">
<TITLE>Occurrence resource naming</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi guys,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I was wondering if there is a simple way o=
f expessing a baseName for an occurrence? At the moment I might have someth=
ing like :-</FONT></P>
<BR>
<P> <FONT SIZE=3D2 FACE=3D"Courie=
r New"><topic id=3D"webPage"></FONT>
<BR> &nbs=
p; <FONT SIZE=3D2 FACE=3D"Courier New"><baseName></FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New"> &nbs=
p;  =
; <baseNameString>Web Page</baseNameString></FONT>
<BR> <FONT SIZE=3D2 FACE=3D"Couri=
er New"> </baseName></FONT>
<BR> <FONT SIZE=3D2 FACE=3D"Couri=
er New"></topic></FONT>
<BR> <FONT SIZE=3D2 FACE=3D"Couri=
er New"><topic id=3D"stressInTheWorkplace"></FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  =
; <baseName></FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New"> &nbs=
p;  =
; <baseNameString>Stress (In the Workplace)</baseNameS=
tring></FONT>
<BR> <FONT SIZE=3D2 FACE=3D"=
Courier New"> </baseName></FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  =
; <occurrence id=3D&quo=
t;googleStressSearch"></FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New"> &nbs=
p;  =
; <instanceOf></FONT>
<BR> <FONT SIZE=3D2 FACE=3D"=
Courier New"> =
<topicRef =
xlink:href=3D"#webPage"></topicRef></FONT>
<BR> &nbs=
p; <FONT SIZE=3D2 FA=
CE=3D"Courier New"></instanceOf></FONT>
<BR> &nbs=
p; <FONT SIZE=3D2 FA=
CE=3D"Courier New"><resourceRef xlink:href=3D"<A HREF=3D"http://www=
.google.com?q=3Dstress+workplace" TARGET=3D"_blank">http://www.google.com?q=
=3Dstress+workplace</A>"></resourceRef></FONT>
<BR> <FONT SIZE=3D2 FACE=3D"=
Courier New"> </occurrence></FON=
T>
<BR> <FONT SIZE=3D2 FACE=3D"Couri=
er New"></topic></FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Which is all very well producing the occur=
rence</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Web Page &nbs=
p; </FONT>=20
<UL>
<UL><LI><A HREF=3D"http://www.google.com?q=3Dstress+workplace"><U><FONT COL=
OR=3D"#0000FF" FACE=3D"Times New Roman">http://www.google.com?q=3Dstress+wo=
rkplace</FONT></U></A><FONT FACE=3D"Times New Roman"> </FONT></LI>
<BR>
<BR>
</UL></UL>
<P><FONT SIZE=3D2 FACE=3D"Arial">Whereas what I actually want to pass is so=
mething along the lines of :-</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Web Page</FONT>
<UL>
<UL><LI><U><FONT COLOR=3D"#0000FF" FACE=3D"Times New Roman">'Stress' from g=
oogle</FONT></U> </LI>
<BR>
</UL></UL>
<P><FONT FACE=3D"Times New Roman">Normally you could express this with xlin=
k via a show attribute :-</FONT>
</P>
<P> <FONT SIZE=3D2 FACE=3D"Courie=
r New"><resourceRef </FONT>
<BR> &nbs=
p; <FONT SIZE=3D2 FACE=3D"Courier New">xlink:href=3D"<A HR=
EF=3D"http://www.google.com?q=3Dstress+workplace" TARGET=3D"_blank">http://=
www.google.com?q=3Dstress+workplace</A>"</FONT>
<BR> &nbs=
p; <FONT SIZE=3D2 FACE=3D"Courier New">xlink:show=3D"Stres=
s search from google"></FONT>
<BR> <FONT SIZE=3D2 FACE=3D"Couri=
er New"></resourceRef></FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">But the</FONT> <FONT FACE=3D"Times New Rom=
an">XML Topic Maps (XTM) 1.0 standard only supports type and href</FONT> <F=
ONT SIZE=3D2 FACE=3D"Arial">:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Courier New"><!ATTLIST resourceRef </FONT>
<BR> <FONT SIZE=3D2 FACE=3D"Couri=
er New">id &nb=
sp; ID =
#IMPLIED </FONT>
<BR> <FONT SIZE=3D2 FACE=3D"Couri=
er New">xlink:type NMTOKEN  =
; #FIXED 'simple' </FONT>
<BR> <FONT SIZE=3D2 FACE=3D"Couri=
er New">xlink:href CDATA #REQUIRED</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">></FONT>
<BR><FONT FACE=3D"Times New Roman">Any ideas?</FONT>
</P>
<FONT SIZE=3D3><BR>
<BR>
Visit http://www.bupa.com or call 0800 00 10 10 and find out what BUPA can =
do for you.<BR>
<BR>
BUPA, the health and care people<BR>
<BR>
<BR>
BUPA House 15-19 Bloomsbury Way London WC1A 2BA<BR>
<BR>
Internet communications are not secure and therefore BUPA does<BR>
not accept legal responsibility for the contents of this message. Any <BR>
views or opinions presented are solely those of the author and do <BR>
not necessarily represent those of BUPA.<BR>
</FONT>
</BODY>
</HTML>
------_=_NextPart_001_01C4DBA6.5A399516--