|
Subject: Re: [xsl] generate-id() problem From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: 24 Nov 2006 09:13:10 +0000 |
>>>>> "Nima" == Nima Kaviani <nkaviani@xxxxxx> writes:
Nima> Hi all, I have a problem with using generate-id()
Nima> apparantly, as I see it in my code, generate-id is dependent
Nima> to the context and the current location in the xml
Nima> document. that is, when I use generate-id() twice and in the
Nima> same context it returns the same value though I need two
Nima> different values!
Then don't use generate-id().
Nima> however, when I use generate-id(../..) or generate-id(/) it
Nima> returns some other values to me!
Nima> is there anything wrong with my settings and assumptions? do
Nima> I have any way around it?
I think it is your understanding of generate-id().
It uniquely identifies the node passed as it's argument (or the
context node, if it has no argument).
--
Colin Adams
Preston Lancashire
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] generate-id() problem, Nima Kaviani | Thread | RE: [xsl] generate-id() problem, Michael Kay |
| Re: [xsl] Standards checkers for XS, bryan rasmussen | Date | RE: [xsl] generate-id() problem, Michael Kay |
| Month |