[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: [xtm-wg] Syntax is a bitch :-(
Indeed you can assign namespaces in a purely pragmatic bottom up way. Assigning a new level in the hierarchy when two sources recognised as being different turn out to have the same name. Regards Matthew ============================================ Matthew West Operations & Asset Management Shell Services International H3229, Shell Centre, London, SE1 7NA, UK. Tel: +44 207 934 4490 Fax: 7929 Mobile: +44 7796 336538 E-mail: Matthew.R.West@is.shell.com http://www.shellservices.com/ ============================================ > -----Original Message----- > From: Wrightson, Ann [mailto:Ann.Wrightson@sweetandmaxwell.co.uk] > Sent: 09 October 2000 09:22 > To: 'xtm-wg@egroups.com' > Subject: RE: [xtm-wg] Syntax is a bitch :-( > > > I agree - but it needs to be as simple as possible; I suggest > that we aim to > enable any processor to establish local uniqueness amongst > the resources and > maps it "sees", rather than trying to be universally-unique > from a "god-s > eye view". > > Ann W. > > > -----Original Message----- > > From: West, Matthew MR SSI-GREA-UK > > [mailto:matthew.r.west@is.shell.com] > > Sent: 09 October 2000 09:04 > > To: xtm-wg@egroups.com > > Subject: RE: [xtm-wg] Syntax is a bitch :-( > > > > > > Dear Colleagues, > > > > The difficulties in reconcilling ID's from different sources > > is pointing to > > a need for namespaces, so that IDs generated in different managed > > environments do nothave to be unique by magic. > > > > Regards > > Matthew > > ============================================ > > Matthew West > > Operations & Asset Management > > Shell Services International > > H3229, Shell Centre, London, SE1 7NA, UK. > > Tel: +44 207 934 4490 Fax: 7929 > > Mobile: +44 7796 336538 > > E-mail: Matthew.R.West@is.shell.com > > http://www.shellservices.com/ > > ============================================ > > > > > -----Original Message----- > > > From: G. Ken Holman [mailto:gkholman@cranesoftwrights.com] > > > Sent: 09 October 2000 09:11 > > > To: xtm-wg@egroups.com > > > Subject: RE: [xtm-wg] Syntax is a bitch :-( > > > > > > > > > At 00/10/09 06:25 +0100, Dave Pawson wrote: > > > >I could autogenerate, but the id's produced for > > > >any update could overlap as new items are introduced > > > >in XSLT. With the two products I'm using, its highly likely. > > > > > > I'm using XSLT to merge two XTM instances and to avoid the > > > problem you > > > noted above I find I have to prefix every ID/IDREF attribute > > > input to the > > > merge with something to make them unique in their respective > > > contexts. I > > > then run them through a second step that replaces the > > > ID/IDREF values with > > > the generate-id() of each ID'ed element in order to throw > > > away the archaic > > > prefix. > > > > > > The prefix I'm using is the generate-id values of the > > > occurrence elements > > > (from the topic map that controls the merge) that refer to > > > each of the > > > filenames, thus guaranteeing uniqueness. > > > > > > Awkward and messy, but in the experimentation I've done I've > > > come to the > > > conclusion that I cannot rely on humane values of ID-typed > > > attributes ... > > > they may be authored in the original instances, but I cannot > > > rely on them > > > staying around because they could conflict. > > > > > > I'll be pre-publishing on my web site next month the > results of my > > > "Experiments using XSLT with Topic Maps" paper for the > > > XML-2000 conference > > > ... I'll try to remember to make note of that on this list > > if you are > > > interested. > > > > > > I hope this helps. > > > > > > ..................... Ken > > > > > > -- > > > G. Ken Holman > > mailto:gkholman@CraneSoftwrights.com > > > Crane Softwrights Ltd. > > http://www.CraneSoftwrights.com/x/ > > > Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 > > (Fax:-0995) > > > Web site: XSL/XML/DSSSL/SGML services, training, libraries, > > products. > > > Book: Practical Transformation Using XSLT and XPath > > ISBN1-894049-05-5 > > > Article: What is XSLT? > > http://www.xml.com/pub/2000/08/holman > > > Next public instructor-led training: > > 2000-10-03/05,2000-10-09/10, > > > - > > 2000-10-19,2000-11-06/07,2000-11-12,2000-12-03/04,2001-01-27 > > > > > > > > > -------------------------- eGroups Sponsor > > > -------------------------~-~> > > > Tellme Sports. Tellme Stocks. Tellme News. Just Tellme. > > > http://click.egroups.com/1/9530/4/_/337252/_/971075450/ > > > -------------------------------------------------------------- > > > -------_-> > > > > > > To Post a message, send it to: xtm-wg@eGroups.com > > > > > > To Unsubscribe, send a blank message to: > > > xtm-wg-unsubscribe@eGroups.com > > > > > > > -------------------------- eGroups Sponsor > > -------------------------~-~> > > Get a NextCard Visa with rates as low as 2.99% Intro APR! > > 1. Fill in the brief application > > 2. Get approval decisions in 30 seconds! > > http://click.egroups.com/1/9336/4/_/337252/_/971078692/ > > -------------------------------------------------------------- > > -------_-> > > > > To Post a message, send it to: xtm-wg@eGroups.com > > > > To Unsubscribe, send a blank message to: > > xtm-wg-unsubscribe@eGroups.com > > > > -------------------------- eGroups Sponsor > -------------------------~-~> > GET A NEXTCARD VISA, in 30 seconds! Get rates > as low as 0.0% Intro or 9.99% Ongoing APR and no annual fee! > Apply NOW! > http://click.egroups.com/1/9331/4/_/337252/_/971080073/ > -------------------------------------------------------------- > -------_-> > > To Post a message, send it to: xtm-wg@eGroups.com > > To Unsubscribe, send a blank message to: > xtm-wg-unsubscribe@eGroups.com > To Post a message, send it to: xtm-wg@eGroups.com To Unsubscribe, send a blank message to: xtm-wg-unsubscribe@eGroups.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC