[topicmapmail] Generating Bib-1/Z39.50 topics from instance metadata
Kal Ahmed
kal@techquila.com
Tue, 15 Oct 2002 18:41:00 +0100
Hi Jason,
I imagine that you could do your referencing in this way. However, I also=
=20
imagine that many generic topic map browsers will display the reference=20
(probably as a link) and not the referenced content. As I don't think tha=
t=20
any web browser supports XPointer syntax yet, you may want to consider th=
is=20
problem if your target application platform is a browser.
Of course, if your target application is something you are writing and yo=
u can=20
bolt in the XPointer processing, then more power to you!
Cheers,
Kal
On Monday 14 October 2002 23:30, Jason Cupp wrote:
> I'd like to unmarshall an instance document (any metadata document, rea=
lly)
> into topics. The metadata contains fields that can be semantically mapp=
ed
> to Bib-1 and GILS Z39.50 profile Use attributes. Then marshall the topi=
cs
> back to instance metadata, but (possibly) in a different metadata stand=
ard.
>
> Parsing the instance documents into topics would be done by an XSLT (wh=
ich
> was generated by another stylesheet from an XML Schema), then added
> custom/importable templates to create topics from the bits of instance
> metadata I was interested in...
>
> In creating topics for instance metadata, would I have one topic, then =
add
> occurances with an xpointer to where the instance data resided in the
> original metadata document?? Here's an example:
>
> # mydocument.xml #
>
> <metadata>
> <dataIdInfo>
> <idCitation>
> <resTitle>This is a Title</resTitle>
>
> # mydocument.xtm #
>
> <topic id=3D"bib1-4">
> <baseName>
> <baseNameString>Title</baseNameString>
> </baseName>
>
> <subjectIdentity>
> <subjectIndicatorRef
> xlink:href=3D"http://lcweb.loc.gov/z3950/agency/defns/bib1.html=
#4"/>
> </subjectIdentity>
>
> <occurance>
> <resourceRef
> xlink:href=3D"mydocument.xml#xpointer(//metadata/dataIdInfo/idCitation/=
resTit
>l e)"/>
> </occurance>
>
> </topic>
>
> _______________________________________________
> topicmapmail mailing list
> topicmapmail@infoloom.com
> http://www.infoloom.com/mailman/listinfo/topicmapmail
--=20
Kal Ahmed, techquila.com
XML and Topic Map Consultancy
e: kal@techquila.com
p: +44 7968 529531
w: www.techquila.com