Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-30-2009, 06:36 PM
Too_Tall_Crown_Victoria Too_Tall_Crown_Victoria is online now
Registered User
 
Join Date: 01-15-2003
Posts: 44
Using XPath to update a node

I am using VB6 and trying to update a value for a node. Here is an example of my xml.

<Room>
_______<Shelf>
_____________<Book>
___________________<Name>Tiny Tim</Name>
___________________<Author>Joe</Author>
___________________<Condition>New</Condition>
_____________</Book>
_____________<Book>
___________________<Name>Atlas Shrugged</Name>
___________________<Author>Ayn Rand</Author>
___________________<Condition>Used</Condition>
_____________</Book>
_______</Shelf>
</Room>

So what I want to do is I need to update the conditions of all my books. However each book has it's own unique condition. How can I use XPATH in a Write XML step to update a given book's condition based the books name, from the example above?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:16 PM.


Copyright © 1999-2023 Kinook Software, Inc.