[xsl] uniqueID(), childNumber(), and formatIndex()

Subject: [xsl] uniqueID(), childNumber(), and formatIndex()
From: John Cartwright <jcartwright@xxxxxxxxxxxxx>
Date: Tue, 02 Jan 2001 08:58:05 -0700
Hello All,

I am trying to convert a stylesheet originally written for IE and 
namespace http://www.w3.org/TR/WD-xsl to one usable by xalan and the
xlst namespace.

I have run across three functions uniqueID(), childNumber(), and 
formatIndex() that seem to be giving problems and I can't find 
descriptions for them.

Does anyone recognize these?  Can you point me to documentation on them
or explain their functionality?  Suggest options for replacement in
XSLT?

Listed below is the context of their usage in the original
stylesheet:

<xsl:attribute name="HREF">#
   <xsl:eval>uniqueID(this)</xsl:eval>
</xsl:attribute>
Distributor 
<xsl:eval>formatIndex(childNumber(this), "1")</xsl:eval>

<xsl:attribute name="HREF">#
   <xsl:eval>uniqueID(this)</xsl:eval>
</xsl:attribute>
Distributor 
<xsl:eval>formatIndex(childNumber(this), "1")</xsl:eval>

Thanks for any help!

-- john
===============================================================================
John Cartwright
Professional Research Assistant / Associate Scientist
CIRES, SEG/NGDC/NOAA
(303) 497-6284
jcartwright@xxxxxxxxxxxxx
===============================================================================

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread