[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl:function

Subject: RE: xsl:function
From: "Dominic Blythe" <dblythe@xxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Jun 2002 12:29:51 +0100
dominic blythe
idiot that I am, having been away from xml for a while,
i left the $ off the beginning of the variable names...

sorry to trouble you all

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Dominic
> Blythe
> Sent: 18 June 2002 12:00
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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@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
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.