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

Re: A doubt

Subject: Re: A doubt
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Thu, 7 Mar 2002 23:01:22 -0800
period puncuation
There is no reason why you shouldn't be able to pass a node or attribute to 
an extension function.

But you need to provide a lot more information before anyone can say what is 
wrong.  What is user:modify() supposed to do?  Did you write it?  In what 
language is it written (Javascript, VBScript, Java, etc.)?  What XSLT 
processor are you using?  And most importantly, exactly how did it "not work"?

Can you provide examples of the input and output, and, if possible, source 
code to user:modify() and the other significant pieces of your template?

On Thursday 07 March 2002 19:31, Bagchi Ratul wrote:
> Hi,
> I was trying something out.But it didnt work.I was for-each ing thru a set
> of nodes and displaying the child nodes.Now I have a requirement that while
> displaying a particular child node i have to make some modification to it's
> value.So I was writing
> <xsl:for-each blabla>
> ....
> <xsl:value-of select="user:modify(@x)" >
> ...
> </xsl:for-each>
> But it did not work.Is calling a script function with a node not
> possible??? Regards,
> Ratul.

Also, just a pet peeve of mine (I know this is a public forum and no one 
expects perfect English, especially if it is not your native language), but 
you should put a " " space after a period or other puncuation.  Don't worry, 
you're certainly not the first person here who does this :)

-- 
Peter Davis

 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.