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

Re: Replacing values in one xml file from another xml

Subject: Re: Replacing values in one xml file from another xml file
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Thu, 27 Dec 2007 12:23:32 +0530
Re:  Replacing values in one xml file from another xml
Can you please post the XSLT you have written (or at least the key
snippets, if it's too long). It will help in suggesting the right
solution.

On Dec 27, 2007 10:17 AM, Mujahid - E - Azam <mujahidazam@xxxxxxxxxxxx> wrote:
> HI,
>
> I have two xml files....
>
> ************* 1 ***************
> <?xml version="1.0" encoding="UTF-8"?>
> <wikimedia>
> <!--><xsi:noNamespaceSchemaLocation="Inclusion.xsd">-->
> <projects>
> <project name="Wikipedia" launch="2001-01-05">
> <editions>
> <edition language="English">p1</edition>
> <edition language="German">de.wikipedia.org</edition>
> <edition language="French">fr.wikipedia.org</edition>
> <edition language="Polish">en.wikipedia.org</edition>
> </editions>
> </project>
> <project name="Wiktionary" launch="2002-12-12">
> <editions>
> <edition language="English">en.wiktionary.org</edition>
> <edition language="French">fr.wiktionary.org</edition>
> <edition language="Vietnamese">vi.wiktionary.org</edition>
> <edition language="Turkish">tr.wiktionary.org</edition>
> </editions>
> </project>
> </projects>
> </wikimedia>
>
> ************end of 1****************
>
> and
>
> *****************2****************
>
> <?xml version="1.0" encoding="UTF-8"?>
> <chapter>
> <p id="p1">text</p>
> </chapter>
>
> *********end of 2****************
>
> If you see the 1 st xml file
>
> At the node wikimedia\ projects\ project\ editions\ edition
> language="English" in the place of p1. I should get value from the second
> xml file ----- chapter\<p id="p1"> "text".
>
> When I run an xslt and get the data from 1st xml in the place of p1. I
> should get text displayed..
> I mean it should be linked to the chapter\<p id="p1"> "text". Field of
> source.xml..
> please let me know how to do this.....
>
>
> Thanks & Regards,
>
> Mujahid E Azam


-- 
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.