This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: generating a repeatable unique id
- To: dnovatchev at yahoo dot com
- Subject: [xsl] Re: Re: generating a repeatable unique id
- From: Sebastian Rahtz <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Mon, 30 Jul 2001 19:30:28 +0100
- Cc: xsl-list at lists dot mulberrytech dot com
- References: <20010730173948.87403.qmail@web14501.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dimitre Novatchev writes:
> Both of this solutions are not too efficient.
but portable!
> There's a third one:
>
> Using DOM (I'm usng MSXML DOM), one can have the following Javascript code:
Yes, but the point of my exercise is to get stuff server-side, not on
the client (my users don't have an MSXML DOM to hand). If the problem
was shifted to the client, I'd ship the whole document, and not get
involved in later requests for a section.
> So Sebastian, this is one of the most efficient ways (if in any
> case you'll have to pass a parameter to the stylesheet) to
> "dynamically" interprete an XPath expression, that will be known
> only at "run time".
I like the idea, and I agree, it would the right way to proceed
client-side.
Sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list