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

template matching, passing parameters.

Subject: template matching, passing parameters.
From: "poppe chris" <pc_poppe@xxxxxxxxxxx>
Date: Tue, 30 Mar 2004 17:42:36 +0200
template matching
Hello,

Im not sure how to explain my question, but i will give it a try.
Suppose you have a template wich matches with some elements of your sourcetree (of the input xml file). There you calculate something wich you put in a variable or parameter. Now you want to pass this value to a template who matches with elements higher in the sourcetree then the previous elements. And then use that value at that (high) position.


Basically i want to pass a parameter from a template matching elements deep in a tree to a template matching elements higher in the tree and also change the current node to the higher element.
But Im not sure if this is possible.


I know that if you use call-template, you still stay at the same node from the template where you perform the call so this is probably not the solution...

Any remarks or comments would be welcome,
sincerely,
Chris Poppe

_________________________________________________________________
Vraag van de week: Wat doe jij tegen spam, ongewenste e-mail? http://www.msn.be/microsoft/potential/default.asp


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.