[xsl] Re:

Subject: [xsl] Re:
From: murali meraga <meraga_m@xxxxxxxxx>
Date: Thu, 10 Oct 2002 09:50:10 -0700 (PDT)
Hi All,

 I have following to xml documents

1) abc.xml

   <xml>
     <row action="new">
       <a/>
       <b>abcd</b>
     </row>
     <row action="new">
       <a/>
       <b>aefgh</b>
     </row>
     <row action="old">
       <a/>
       <b>iffjd</b>
     </row>

   </xml>

2) xyz.xml

   <xml>
     <returnid>
       <a>12</a>
     </returnid>
     <returnid>
       <a>13</a>
     </returnid>     
   </xml>


I have to take the corresponding value of tag "a" from
xyz.xml and assign to empty tag "a" in abc.xml, only
where the attribute "action=new" of "row tag.

 In other words, it is one to one reading. Like first
"a" tag value from xyz.xml will go to first "a" tag of
abc.xml and second "a" tag value will go to second "a"
tag and so on based on the condition where
row[@action="new"].

 Could you please help me how can I do solve using
DOM?. I am using vbscript.

Thank you,


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

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


Current Thread
  • [no subject]
    • murali meraga - Thu, 10 Oct 2002 09:37:19 -0700 (PDT)
      • murali meraga - Thu, 10 Oct 2002 09:50:10 -0700 (PDT) <=