This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
uniqueID(), childNumber(), and formatIndex()
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] uniqueID(), childNumber(), and formatIndex()
- From: John Cartwright <jcartwright at ngdc dot noaa dot gov>
- Date: Tue, 02 Jan 2001 08:58:05 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@ngdc.noaa.gov
===============================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list