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

Re: persistent ids/hashes from strings?

Subject: Re: persistent ids/hashes from strings?
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 13 Feb 2007 21:12:10 -0800
Re:  persistent ids/hashes from strings?
I would suggest that this XSLT application maintains a separate xml
document containing a unique element for every company.

Then, to give a hash to a company, it could use something as simple as
its position (count(preceding-sibling::company) in the companies' xml

Whenever the lookup function fails to find a company (this means a new
company has been specified or a typo), the lookup function will create
a new Companies xml document, in which the missing company is appended
at the end and return it as part of its result.

The end result of the transformation will be the required one with the
addition of another file, containing the companies data, whenever new
companies have been added.

Cheers, Dimitre Novatchev

Current Thread


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.
First Name
Last Name
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.