[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
<?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"/>
</model>
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
From: "vijay kumar" <reddy_vk@xxxxxxxxxxx> Date: Tue, 17 Jul 2001 14:56:12 -0000 |
Hi, 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"/>
</model>
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] simple question with <xsl, Wendell Piez | Thread | [xsl] Replacing values, vijay kumar |
Re: [xsl] Extra xmlns="", Laurence O Garfield | Date | Re: [xsl] Is XML-SPY useful for xsl, Laurence O Garfield |
Month |