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]
Other format: [Raw text]

xsl:function


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@progressive.uk.com
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


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