Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] function-available returns false [Thread Next] Re: [xsl] function-available returns falseTo: Date: 5/1/2008 5:27:00 PM 2008/5/1 Andrew Welch <andrew.j.welch@xxxxxxxxx>: > On 01/05/2008, Manfred Staudinger <manfred.staudinger@xxxxxxxxx> wrote: > > With the stylesheet below Saxon 6.5.5 returns false for > > function-available for all xslt and xpath functions. > > > Any idea? > > Um... yes: > > > <dr:functions show="false"> > > and: > > > > <xsl:with-param name="show" select="@show='true'"/> > > If you'd tried to produce cut down examples, rather posting your > entire transform you would probably would have spotted that.... > > (plus if you were questioning whether function-available() works in > 6.5.5 there are easier ways of finding out!) Sorry for that ... XML: <e>number</e> XSLT: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"><xsl:apply-templates/></xsl:template> <xsl:template match="e"> <xsl:copy> <xsl:value-of select="function-available(.)"/> </xsl:copy> </xsl:template> </xsl:stylesheet> Manfred | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
