siddharthsethun 0 Newbie Poster

Hi,

I am trying to call function provided by exslt in .NET.

xmlns:date="http://exslt.org/dates-and-times" extension-element-prefixes="date"

I prefixed "date:" to the function.

<xsl:variable name="dow">
<xsl:value-of select="date:day-in-week($DateTime)"/>
</xsl:variable>

It works fine in XALAN but throws an error in .NET saying "date" is not declared.

Please advice.

Thanks!!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.