XSLT matching with conditions in XSLT/XSL-FO Posted May 8, 2014 I have two XML-files that I currently are merging in a new result XML-file. First file: <TT><T><T1>AA</T1><T2>1</T2></T> <T><T1>BB</T1><T2>1</T2><T3>1</T3></T></TT> Second file: <TT><T><T1>AA</T1><T2>3</T2><T3>3</T3></T><T><T1>BB</T1><T3>3</T3></T></TT> I want the result to be: <TT><T><T1>AA</T1><T2>3</T2><T3>3</T3></T> <T><T1>BB</T1><T2>1</T2><T3>3</T3></T></TT> As I am somewhat new, this has been proven harder than I thought... Thankful for any help! =)
XSLT matching with conditions
in XSLT/XSL-FO
Posted
I have two XML-files that I currently are merging in a new result XML-file. First file:
<TT><T><T1>AA</T1><T2>1</T2></T> <T><T1>BB</T1><T2>1</T2><T3>1</T3></T></TT>
Second file:
<TT><T><T1>AA</T1><T2>3</T2><T3>3</T3></T><T><T1>BB</T1><T3>3</T3></T></TT>
I want the result to be:
<TT><T><T1>AA</T1><T2>3</T2><T3>3</T3></T> <T><T1>BB</T1><T2>1</T2><T3>3</T3></T></TT>
As I am somewhat new, this has been proven harder than I thought... Thankful for any help! =)