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

Re:

Subject: Re:
From: murali meraga <meraga_m@xxxxxxxxx>
Date: Thu, 10 Oct 2002 09:50:10 -0700 (PDT)
vbscript dom
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 12:34:18 -0400 (EDT)
      • murali meraga - Thu, 10 Oct 2002 12:47:11 -0400 (EDT) <=

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.