This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: saxon fail to find xslt functions



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]