Sign In/My Account | View Cart  
advertisement

Article:
 Seeking Equality
Subject: generate-id()
Date: 2005-06-09 00:33:27
From: TimWarwick

Doesn't generate-id() provide an ID value that can be used to test for equality?


Or does it test for Identity ( === ) as opposed to Equivalence ( == )?


Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Oldest First
  • generate-id()
    2005-06-09 06:00:10 Bob DuCharme [Reply]

    Identity. As the Rec says, it "returns a string that uniquely identifies the node." (Also note that it says that "An implementation is under no obligation to generate the same identifiers each time a document is transformed," so the ID generated for a particular node can be different each time you run the same stylesheet against it.


    Bob


Sponsored By: