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

Re: Indirection

Subject: Re: Indirection
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 11 Oct 2000 11:48:30 GMT
xsl select indirection
> 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.

It's more fragile than that. You can't be sure that the generated ids
will be the same even if you run an unchanged file with the same
processor. (Well if you look at the source of the processor you may see
that it doesn't use the time of day to generate random ids, but it could,
according to the spec)

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. (But without knowing what your source looks like...)

David


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


Current Thread
  • Indirection
    • DPawson - Wed, 11 Oct 2000 10:52:12 +0100
      • David Carlisle - Wed, 11 Oct 2000 11:48:30 GMT <=

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.