[xsl] Replacing values

Subject: [xsl] Replacing values
From: "vijay kumar" <reddy_vk@xxxxxxxxxxx>
Date: Tue, 17 Jul 2001 15:25:26 -0000
  I need to generate the following XML file from another XML file.

<?xml version="1.0" standalone="no"?>
<!-- <!DOCTYPE validation PUBLIC "-//manu//TEXT//KARMA Validation Attributes
DTD//EN" "http://www.manu.com/dtd/validation/model.dtd";> -->
<model class="com.manu.cro.online.ui.booking.BookingForm">
<attribute name="rate" value="2.343a"/>
<attribute name="cityCode" value="ZRaF"/>
<attribute name="awbNumber" value="08a5-12345678"/>
<attribute name="fromDate" value="27/0a3/2001 00:00"/>
<attribute name="origin" value="ZRHa"/>
<attribute name="spco1" value="DIaP"/>
<attribute name="shipperCustomerReferenceNumber" value="12345a"/>

  My question is how to write XSL file which reads values from another xml
file and replaces the values in the above xml file. I am using xalan.
Say in this line( <attribute name="rate" value="2.343a"/> ) it has to
replace the value with value from another xml file.
Thanking you in advance
reddy vk

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread