Get Value of a Node in the same Level - InfoPath Dev
in

InfoPath Dev

Get Value of a Node in the same Level

Last post 03-25-2015 08:09 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-25-2015 08:02 AM

    Get Value of a Node in the same Level

    You can select a Node in c# via SelectSingleNode("/my:myFields/my:section/my:name", NamespaceManager); Now I have the node name, but in that section is also a node "firstName", how can I select that using the existing "name"-Node? If had just the section node ""/my:myFields/my:section/", I could just do SelectSingleNode("my:name"), what do I have to type in SelectSingleNode() for the node "name" to select the firstname-node?
  • 03-25-2015 08:09 AM In reply to

    Re: Get Value of a Node in the same Level

    ../my:firstName

    Relative XPath: http://www.tizag.com/xmlTutorial/xpathrelative.php

    Hilary Stoupa

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