Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: how to use jscript in xsl file >Thread Next - Re: how to use jscript in xsl file Re: how to use jscript in xsl fileTo: NULL Date: 7/22/2006 2:28:00 PM thank you for your answer. Does your exemple works on FireFox or NetScape?? "Sergey Dubinets" wrote: > There are no xsl:script and xsl:eval instructions in XSLT 1.0 > > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:msxsl="urn:schemas-microsoft-com:xslt" > xmlns:user="URN:USER" > > > > > <msxsl:script language="jscript" implements-prefix="user" > xmlns:msxsl="urn:schemas-microsoft-com:xslt" > > <![CDATA[ > function getAncestor(xNode) { > return ""; > } > ]]> > </xsl:script> > > > <xsl:template match="/"> > <xsl:value-of select="user:getAncestor(.)" /> > </xsl:template> > > </xsl:stylesheet> > > Sergey > > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
