XPath string for empty nodes - InfoPath Dev
in

InfoPath Dev

XPath string for empty nodes

Last post 09-09-2005 09:33 AM by Agni Jonnalagadda. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-09-2005 08:56 AM

    XPath string for empty nodes

    HI all,
    I need to select using XPath formula all fields called <Choice><\Choice> no-empty: for example, my XML file has lots of Nodes <Choice><\Choice> but only few contains a value: is it possible to select only that nodes with a value?

    Thank u!
  • 09-09-2005 09:33 AM In reply to

    Re: XPath string for empty nodes

    Hi,
    Yes it is possible, your Xpath should be
    "/.../Choice[. != '']"

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