Re: Using EXSLT functions from Microsoft InfoPath

James Fuller <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Organization Webcomposite
Message-ID <[email protected]>
Rideg Márton wrote:

>Hi,
>
>I tried to substract two dates in InfoPath using XSLT.
>It seems that the built-in XSLT functions does not support this.
>I found EXSLT: it seems great.
>But I can not get it work in InfoPath.
>Could anyone help me (even with some code example) how to import 
>EXSLT functions to use them in InfoPath.
>Or please tell me if I am on a wrong way and offer me how to solve my 
>problem (substracting dates in InfoPath)
>  
>

Microsoft XSLT processor doesnt support EXSLT natively, which means you
have to use the alternate implementations (e.g. use pure EXSLT or XSLT
templates, javascript, or msxsl script). Note that EXSLT is supported in
some part by every just about every major XSLT processor except
MS....something we have tried to change.

on each EXSLT function page will be a link to the relevent alternate
implementation

for example

http://www.exslt.org/date/functions/date/index.html

look at the bottom of the page and u will see links to

EXSLT function
XSLT function
Javascript
msxsl (ms javascript basically)

note when u download the zip for a function (or module) they include
these implementations.

its important to import the specific function directly into your stylesheet.

gl, Jim Fuller
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.