Changing Multiple Instances in XML - InfoPath Dev
in

InfoPath Dev

Changing Multiple Instances in XML

Last post 08-21-2007 11:24 AM by Agni Jonnalagadda. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-20-2007 02:03 AM

    Changing Multiple Instances in XML

    Hi

    I am trying to change the value of certain fields in the form, based on a button being clicked and a filter being used. The XML format is as follows:

    <CapaProfiles>

       <Level1>

          <Name\>

          <Expand>

               <Value\>

          </Expand>

          <Level2>

              <Name\>

              <Expand>

                   <Value\>

              </Expand>

            </Level2>

        </Level1>

    .....

    </CapaProfiles>

     

    So what I want to be able to do is set the all the Value fields in Level1 to true when the Name is equal to say "Business"....ive been looking at using selectNodes() but without any success as I can not get the arguments/ syntax right to be able to use it :/

     Any help would be much appreciated!

    Kind Regards

     

    Lawrence
     


     

            

     

  • 08-21-2007 11:24 AM In reply to

    Re: Changing Multiple Instances in XML

    Looks like you are looking for bBelow XPath

    CapaProfiles/Level1[Name = 'Business"]/Value

     

     

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.