xsl-list
[Top] [All Lists]

[xsl] Generate Dynamic long value

2009-07-30 16:01:26
Is there any way to generate a dynamic long value or create a long
value that represents the current time in a stylesheet?

I need to do this inside the stylesheet independent of any data being
transformed (coming in).

i.e.

stylesheet:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<xsl:output media-type="text/xml" method="xml" indent="yes"/>

<xsl:template match="/">
  <xsl:element name="dynamiclongvalue"><xsl:value-of select="some
function of xsl"/></xsl:element>
</xsl:template>

</xsl:stylesheet>

output:

<dynamiclongvalue>1234567890837683</dynamiclongvalue>

Thanks,

Matthew

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--