This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: saxon fail to find xslt functions
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] saxon fail to find xslt functions
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 28 Jun 2001 14:02:16 +0100
- References: <24962AC266ABE343AE636D200A7871330FA806@BD2KSEXCHANGE.BCP.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> i'm calling it like this for test, once it works
> I'll put a lot of different elmenents through it
yes but you only need it to be a function if you use it embedded inside
a larger XPath expression.
something like /a/b[bcp:fixDate(.)='today']/x/y/z
If you just want to apply it in lots of places, can't you justdo
<xsl:template match="a|b|c">
<xsl:value-of select="concat(substring(.,3,2),substring(.,6,2),substring(.,9,2))"/>
</xsl:template>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list