[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: generate-id() problem
>>>>> "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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|