Link to home
Start Free TrialLog in
Avatar of nkk1712
nkk1712

asked on

how to combine 3 xlst into 1 xslt

Hi,

Please find the attachments,
Here to run my application the same input file I’m giving 3 times to application as step1 step2 step3[environment: spring batch].
Which is now taking more time…? How can I merge these three steps into a single step.
Currently  
Step1 I’m using DB and converting some amounts
Step2 using these db data I’m aggregating
Step3 using db data and step2 aggregated data
conversion.JPG
conversion1.JPG
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Don't you think this is a little vague as a question?

If this is a pipeline you are setting up, please realize that sometimes it is good to have a series of simple XSLTs instead of one complex.
But from the information you give I know nothing.
I can't relate the images you show to XSLT functionality.

So, you need to give more info.
What are the XSLTs doing. How is the process now (a pipeline or three parallel transforms, if the later, how do you merge the result data)

Avatar of nkk1712
nkk1712

ASKER

Okay …
I know it’s difficult to understand. But I’ll try.

I’m having input *.xml file [150-160 files 1.64 GB] for each step will I  have run all these input xml files
Here I observed one thing, my logic part what I showed in images is taking very less time, the most  time is taken for coping rest of part. Somehow if I change these 3 steps into one step then I can get what I’m looking at.
Anyway
In step1
           I’m converting amounts using DB
            USD to EUR
            GBP to USD
In Step2
      I’m aggregating these converted amounts for specific codes
In Step3
      I’m using these aggregation amounts

here for each step i am using one xslt, please find the attachment

conver.ppt
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nkk1712

ASKER

sorry :)  i can not share my xslt files

im using Saxon 9.0.0.5
my environment java, spring-batch, hibernate,jpa.

can you tell me the second one , with an example.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nkk1712

ASKER

I've requested that this question be deleted for the following reason:

i can not share  the xslt doc
advice was given on how to solve this.
I consider the question answered.
Deletion is not an option
closing recommendations:
accept: https://www.experts-exchange.com/questions/27342994/how-to-combine-3-xlst-into-1-xslt.html?anchorAnswerId=36709535#a36709535
assist: https://www.experts-exchange.com/questions/27342994/how-to-combine-3-xlst-into-1-xslt.html?anchorAnswerId=36708573#a36708573

In my latest answer (suggested for accept)
I explain the process of integration plus the process of pulling multiple source files at the time.
More detail can not be given due to lack of the original XSLT.
The original question is answered as good as possible lacking further input from the question poster