Subject: Re: [xsl] template matching, passing parameters. From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 30 Mar 2004 11:59:48 -0500 |
Cheers, Wendell
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...
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] template matching, passin, M. David Peterson | Thread | [xsl] new thread... difference betw, Shashi Kiran |
Re: [xsl] XPath is NOT a functional, David Carlisle | Date | RE: [xsl] XPath is NOT a functional, M. David Peterson |
Month |