Select a single node - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Select a single node

Last post 07-22-2008 02:50 AM by cbichler. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-22-2008 12:21 AM

    Select a single node

    Hello there!

    I have no experience in working with Infopath and am completely new with it.
    I have the following problem that might be really easy to solve for you guys: I want to select a single node from my XML-file by following line:


    (xpn is the root XPathNavigator)

     But I get following XPath- Exception:

     "Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function."

     I appreciate every kind of help!


  • 07-22-2008 02:33 AM In reply to

    Try with this xpn.SelectSingleNode("/Doku/my:field1", NamespaceManager).Value; Sure it will work.
    Thanks & Regards,
    Srikrushna Patro.
  • 07-22-2008 02:50 AM In reply to

    Thank you Srikrushna!

    Works fine!

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