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

Re: XSLT merge documents into variable

Subject: Re: XSLT merge documents into variable
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Fri, 10 Aug 2007 18:18:07 +0530
Re:  XSLT merge documents into variable
I had tested the solution with more than 2 files, and it worked (in
fact the solution I posted can process N files).

The solution I posted achieves the desired result. Why do you want to
do it another way? May be the approach you have taken is not right..
(just guessing)

On 8/10/07, Lars Kappert <larskappert@xxxxxxxxx> wrote:
> Thank you very much for your suggestion. Although a little of it doesn't work here (this line: <xsl:value-of select="sum(exslt:node-set($sumOfAmounts)/num)" />), this is a solution that directly accomplishes the desired result in my post. My examples files are kept simple for easier understanding the issue; so this solution is not so well extensible I guess. But what I would really appreciate to see is something more conforming to my question: how do I really put the contents of the two files in a variable first and then work with that result in another template?
>
> Correct me if I'm wrong!


-- 
Regards,
Mukul Gandhi

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.