Subject: [xsl] xsl:function From: "Dominic Blythe" <dblythe@xxxxxxxxxxxxxxxxxx> Date: Tue, 18 Jun 2002 11:59:34 +0100 |
I just started using saxon 7.0 with XSLT 2.0 after a long absence from xsl. It implements the new xsl:function and xsl:result elements. My question is how come i dont get any return from my functions? Below are fragments of stylesheet showing the function and the function being called. Everything else works ok, no errors, etc, but there is no output from the function. As the function is now a standard xslt2 thing, i put this on this list rather than the saxon list. <xsl:function name="pcs:pad"> <xsl:param name="theString"/> <xsl:param name="theOtherString"/> <xsl:result select="concat(theString,theOtherString)"/> </xsl:function> <xsl:value-of select="pcs:pad('this','that')"/>(<xsl:value-of select="string-length(./TITLE)"/>),<xsl:text/> ___________________________________________________________________ Dominic Blythe Systems Developer Progressive Computer Systems Ltd Batley Business & Technology Centre Technology Drive Batley England WF17 6ER t: 01924 520310 f:01924 520301 e: dblythe@xxxxxxxxxxxxxxxxxx w: www.progressive.uk.com ___________________________________________________________________ This e-mail and any attached documents are confidential and for the attention of the intended recipient(s) only. If you are not the intended recipient(s), please notify the sender immediately; you must not read, copy, or use this e-mail and associated documents for any purpose, nor disclose it to any other person. The opinions, statements and thoughts expressed in this e-mail are not necessarily those of Progressive Computer Systems Ltd or the sender. ___________________________________________________________________ /* It's nice to be important, but it's more important to be nice */ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl]: Finding the deepest node, Michael Kay | Thread | RE: [xsl] xsl:function, Dominic Blythe |
[xsl]: Finding the deepest node(s), TSchutzerWeissmann | Date | Re: [xsl] Format text within a XML , David Carlisle |
Month |