Re: [xsl] RE: Replacing values in one xml file from another xml file

Subject: Re: [xsl] RE: Replacing values in one xml file from another xml file
From: Abel Braaksma <>
Date: Fri, 28 Dec 2007 09:26:24 +0100
You don't really elaborate on my solution (as Mukul pointed out already), you basically repeat what you already said. If you use a auto-generated stylesheet, you will probably have to tweak it yourself a bit. But if you are completely new to XSLT, it is best to first start with a little test by hand, not with a big one that is auto-generated as it may contain many advanced concepts.

If you have specific problems with applying my solution, show what you tried and then we can help from there.

(Btw, if you answer to the list it is generally best to answer only to the list and not to the people directly (you accidentally CC'ed Mukul in your mail).)

-- Abel Braaksma

Mujahid - E - Azam wrote:
I have two xml files.... (xsl below....)

************* 1 ***************
<?xml version="1.0" encoding="UTF-8"?>
<project name="Wikipedia" launch="2001-01-05">
<edition language="English">p1</edition>
<edition language="German"></edition>
<edition language="French"></edition>
<edition language="Polish"></edition>
<project name="Wiktionary" launch="2002-12-12">
<edition language="English"></edition>
<edition language="French"></edition>
<edition language="Vietnamese"></edition>
<edition language="Turkish"></edition>

************end of 1****************



<?xml version="1.0" encoding="UTF-8"?>
<p id="p1">text</p>

*********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
please let me know how to do this.....

The xsl generated by me using stylus studio... I am not sure if this is even correct.. I am completely new to xsl... so...

Current Thread