Jump to content

xsl Functions


ngopza
 Share

Recommended Posts

HI. I need to intergrate several xml documents into a master xml document.I did everything but my problem is that the second xml file prints continouslly. eg No1.xml <root> <name1> some name</name1> <name2> some name </name2></root> <root1> <name1> some name</name1> <name2> some name </name2></root1> No2.xml<anotherRoot> <alias> some alias</alias> <alias2> some alias </alias2><anotherRoot> <anotherRoot1> <alias> some alias</alias> <alias2> some alias </alias2><anotherRoot1> Expected output <root> <name1> some name</name1> <name2> some name </name2></root> <anotherRoot> <alias> some alias</alias> <alias2> some alias </alias2><anotherRoot> <root1> <name1> some name</name1> <name2> some name </name2></root1><anotherRoot1> <alias> some alias</alias> <alias2> some alias </alias2><anotherRoot1> But the utput I get<root> <name1> some name</name1> <name2> some name </name2></root> <anotherRoot> <alias> some alias</alias> <alias2> some alias </alias2><anotherRoot> <anotherRoot1> <alias> some alias</alias> <alias2> some alias </alias2><anotherRoot1> <root1> <name1> some name</name1> <name2> some name </name2></root1> <anotherRoot> <alias> some alias</alias> <alias2> some alias </alias2><anotherRoot> <anotherRoot1> <alias> some alias</alias> <alias2> some alias </alias2><anotherRoot1> Is there a function for that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...