XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2016)
- Stylus Studio FAQs (159)
-> + XPath parser hangs stylus stud... (3)
-> + Stylus studio api (4)
-> + xsl files (2)
-> + SS4: user interface question (6)
-> + SS4: primitive advertising in ... (6)
-> + SenseX - howto insert default ... (2)
-> + search utility on Stylus Studi... (2)
-> + Javascript De-bugging (10)
-> + 'Promo' version of Beta 4.0 (4)
-> - 4.0 Beta now available! (1)
-> + XSL-FO editing (6)
-> + Re: Promo Version (9)
-> + xml->pdf (7)
-> - Functions handle in loops (2)
-> ->Functions handle in loops...
-> + DTD-Schema Conversion (4)
-> + Word Wrap? (2)
-> + Javascript extensions (2)
-> + DTD / Schema conversion (2)
-> + Stylus Studio FAQ's (2)
-> - With Cocoon's XSP tag (1)
-- [1-20] [21-40] [41-60] Next
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Padachala Nageswara RaoSubject: Functions handle in loops
Author: Padachala Nageswara Rao
Date: 05 Nov 2001 11:23 PM
Hi
How can we handle functions in loops.I don't see the proper XSL generated for this purpose.

Ex:
PurOrder
lines ( unbounded)
line1
line2

I would like to use function Concat(line1,line2) for all lines.

The XSL which Stylus studio generates is not handling the purpose.

Can you update me how can we do that.

regards
P.N.Rao

Posttop
(Deleted User) Subject: Functions handle in loops
Author: (Deleted User)
Date: 29 Nov 2001 05:31 PM
hi Padachala,

sorry for getting back to you late.

the problem in your case is that you need to create a repeating link between
'line' in source and 'line' in destination which will make sure there will be a xsl:for-each genereated(just make a link between them).

once that is done, all your line1 and line2 will be concated and mapped.


hope this helps

song.

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.