cancel
Showing results for 
Search instead for 
Did you mean: 

error while applying stylesheet - XSLT functions

HariCS23
Contributor
0 Kudos

Hi ,

I have a source XML and applying XSLT on source XML. It works fine from the tool stylus studio. but when i apply that transformation using MII,i get below error.

"Error has occurred during XSL transformation Could not compile stylesheet"

My xsl was working fine but i needed to do a date manipulation..so i have used one function which is in name space xs.

So i have added name space on top of xslt document as . xmlns:xs="http://www.w3.org/2001/XMLSchema"

<xsl:variable name="docdate" select="sch:dateTime" />

<xsl:value-of select="adjust-dateTime-to-timezone(xs:dateTime($docdate))"/>

i have attached xml and xslt ( changed extension while attaching to this post  since sdn is allowing  xsl extension )

Thanks

Hari

Accepted Solutions (0)

Answers (1)

Answers (1)

HariCS23
Contributor
0 Kudos

Update: Above function looks to be xslt 2.0 function and thats why MII is blowing up the transformation.

So,Question now is can i use EXSLT functions at least in MII? Does MII XSLT processor supports EXSLT function?

If not,is there any way to get that work like Xalan libraries??

Thanks

Hari