xpath - how to find a node where a specific attribute does NOT exist?

Discussion in 'ASP .Net' started by KathyB, Jul 20, 2003.

  1. KathyB

    KathyB Guest

    Hi, since there doesn't appear to be a way to get the individual
    elements that make up the xpath to a result node, I'm trying to create
    an xpath that will result in selecting this xml node which would be
    the last board element without a finish attribute.

    <Board sn@="12347" start="7/15/03"/>

    other board elements may include a finish attribute, e.g,
    <Board sn@="12346" start="7/15/03" finish="7/15/03"/>

    if I try to include a predicate of [@finish = ""] it doesn't select
    the node.

    How do you select a node that does NOT have a certain attribute?

    Thanks!

    Kathy
    KathyB, Jul 20, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    1,413
  2. Alastair Cameron
    Replies:
    1
    Views:
    7,369
    SQL Server Development Team [MSFT]
    Jul 8, 2003
  3. inquirydog
    Replies:
    21
    Views:
    1,754
    inquirydog
    Sep 11, 2004
  4. Tjerk Wolterink
    Replies:
    2
    Views:
    1,404
    Dimitre Novatchev
    Aug 24, 2006
  5. Replies:
    3
    Views:
    3,807
    A. Bolmarcich
    Oct 20, 2006
Loading...

Share This Page