|
Subject: Re: [xsl] String hashing code From: Deborah Pickett <debbiep-list-xsl@xxxxxxxxxx> Date: Sun, 16 Dec 2007 08:17:08 +1100 |
Abel Braaksma wrote:
> <xsl:variable name="filename"
> select="doc('http://www.famkruithof.net/uuid/uuidgen')/html/body/table/tr/td/h3[1]"
> />
What's especially clever about that is that it covers exactly the space
that generate-id() doesn't. If all my source documents are processed by
one XSLT processor instance, then $filename can repeat but generate-id()
is unique. If each document is done by its own processor instance, then
generate-id() can repeat but $filename is unique.
My build may not have the luxury of using network services, even to
localhost, but I can certainly recognize the beauty of the solution.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] String hashing code, Abel Braaksma | Thread | Re: [xsl] String hashing code, Robert Koberg |
| RE: [xsl] XPath - excluding specifi, Scott Trenda | Date | Re: [xsl] ANN: 'Testing XSLT' train, Steve Ball |
| Month |