[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] generate-id()
--Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have an issue w. generating a unique id from a called template in an incl= uded XSL file. I use the template to create buttons for the bottom of a form. Their content is not based on the XML, b= ut values such as Save, Delete, etc. The DHTML code that's I'm using requires each button the have a unique name. I tried= =20 <xsl:variable name=3D"id" select=3D"generate-id(*)"/> but that gave me the same id for every call to the template. I tried Jeni'= s generate-id() code from dpawson's FAQ, but that assumes that I'm within the context of XML at the time, and I'm not. = I'm trying to avoid having to pass a unique ID into the template, and have the template do it for itself. Where should I = go from here? --=20 David B. Bitton david@xxxxxxxxxxxxxx Diversa ab illis virtute valemus. --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE78ZFaMNOMzNRRk50RAsCmAJ90IQqPBQL/bOnmTc7DCeJ9N661PQCfS0n9 GMQANQjILpB7TSu3k2x8MXc= =++PB -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|