[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Indirection

Subject: RE: Indirection
From: DPawson@xxxxxxxxxxx
Date: Wed, 11 Oct 2000 12:28:45 +0100
RE: Indirection
> Can't really say what you should do as I don't understand the problem.
> In particular, given that you are "generating manually" the
> associations, why can't you supply more stable and memorable 
> id's at the
> same time? 
> 
> If you do have to generate the ids from xsl then clearly you should be
> getting xsl to generate the references in your assocrl elements
> presumably by specifying in your source, not th eid itself 
> but an xpath
> to select the node. 

The data looks like this. I've actually used the same id values
this time. Sorry David.

<topic id="N12345" types="wife mother">
<topname><basename>Cara</basename></topname>
</topic>

I have about 450 of these, generated manually

This is the association
<assoc type="is-married-to">
<assocrl anchrole="husband">george</assocrl>
<assocrl anchrole="wife">N12345</assocrl>
</assoc>

I have about 60 and growing, which
is generated manually. 
My intention is (was) to keep the associations stable,
since they are manually generated, I'd simply add to them.
The generation of 'topics' will be, say, weekly, hence
needs to be automatic.

Eventually, the two lists of <topic> <assoc> will
be joined within the same file (entity inclusion)
under a <topicmap> wrapper.

My problem is that, as you say, the id value in topic
is extremely fragile. When I manually write a reference
to cara (via id N12345), I'd like some form of indirection,
to make the link more robust.

Is that clearer?

Regards DaveP








 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.