Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Pick/Choose XML from XSL

From: Morris M. Keesan <keesan@----.--.--->
To: NULL
Date: 12/4/2004 10:28:00 PM
On Sat, 4 Dec 2004 19:13:10 +0000 (UTC), ExGuardianReader
<noway@n...> wrote:
...
>Are your generated IDs linking up? the generate-id() function produces a 
>different value each time it is called. The one in your header won't 
>match the one in the content section!

Nope.  For a single XSLT run, the id returned must be the same every
time the generate-id() function is called for the same node.  But
there's some confusion about this because of the second part of the
following, from <http://www.w3.org/TR/xslt#function-generate-id>:

"The generate-id function ... always generates the same identifier for
the same node and ... different identifiers are always generated from
different nodes. An implementation is under no obligation to generate
the same identifiers each time a document is transformed."
-- 
Morris M. Keesan -- keesan@a...



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent