OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

topicmaps-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC