Kinook Software Forum

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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-13-2007, 04:15 PM
Too_Tall_Crown_Victoria Too_Tall_Crown_Victoria is online now
Registered User
 
Join Date: 01-14-2003
Posts: 44
XPath Help

I am trying to understand how to use xpath and VBP. I have an xml file that will contain the owners of each of our modules. The format is as follows:

<component>
<module name="ProjA" owner="bob@bob.com"/>
<module name="ProjB" owner="tim@tim.com"/>
. . .
</component>

I was using a Step Property action with a value:

[%READ_XML(D:\build\owners.xml,/Component/owner=@module name=%MY_PROJECT%)%]

All I get are errors.

I can get this to work if I use the format:

<component>
<ProjA>
<owner>bob@bob.com</owner>
</ProjA>
<ProjB>
<owner>tim@tim.com</owner>
</ProjB>
. . .
</component>

However I am told that this is not a properly formatted xml file.

Thanks for your help.
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 05:52 AM.


Copyright © 1999-2023 Kinook Software, Inc.