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

Re: Merge 2 xmls : Loop through one xml and get elemen

Subject: Re: Merge 2 xmls : Loop through one xml and get elements from second xml
From: "Elisa Beshero-Bondar ebbondar@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Sep 2020 12:30:24 -0000
Re:  Merge 2 xmls : Loop through one xml and get elemen
For this, I use the doc() function and store the location of the second xml in
a variable. You need to define its location in relation to the XSLT file. Then
just point to the variable and XPath into its nodes as you need to pull them
into the transformation of the first xml.

Hope this helps!
Elisa

Elisa Beshero-Bondar, PhD
Program Chair of Digital Media, Arts, and Technology | Professor of Digital
Humanities |  Director of the Digital Humanities Lab at Penn State Erie, the
Behrend College

Typeset by hand on my iPhone

> On Sep 1, 2020, at 7:17 AM, Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> o;?Am 01.09.2020 um 13:14 schrieb Prady Prady prady.chin@xxxxxxxxx:
>
>> I have this requirement...
>>
>> =================
>> Merge 2 xmls : Loop through one xml and get elements from second xml
>>
>> I have 2 xmls(Orders_Part1.xml,Orders_Part2.xml). I have to build the
>> 3rd xml ( Orders.xml) .
>
> Which XSLT processor or which XSLT version do you use?

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.