Subject: Indirection From: DPawson@xxxxxxxxxxx Date: Wed, 11 Oct 2000 10:52:12 +0100 |
Scenario. I'm building a topic map, within which each 'topic' element is a small, self contained element, with an id. <topic id="cara" types="wife mother"> <topname><basename>Cara</basename></topname> </topic> The Associations between topics is done on a cross-reference basis. (Basically says this association is between this topic and that topic). <assoc type="is-married-to"> <assocrl anchrole="husband">george</assocrl> <assocrl anchrole="wife">cara</assocrl> </assoc> Again, theoretically, id idref values would be ideal. However. The actual topics I'm generating with xSLT, using generate-id(), but the associations I'm generating manually. this could leave me with an example like <assoc type="is-married-to"> <assocrl anchrole="husband">N1234</assocrl> <assocrl anchrole="wife">N1365</assocrl> </assoc> which is prone to being screwed if, when I next generate the id values for the topics, XT or Saxon note that I've inserted another topic between the two. What I want is a method of providing an indirect link, so that N1234 refers to X, X then refers to a varying id value generated by the XSLT. Any suggestions please anyone? The only ideas I've had are too fragile to be worth bothering with. Regards DaveP XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Paul T vs FO, Sebastian Rahtz | Thread | Re: Indirection, David Carlisle |
Re: Paul T vs FO, v . rudowitsch | Date | Re: restrict elements for call-temp, Tom Mullen |
Month |