matching

Discussion in 'XML' started by Jeff Kish, Nov 11, 2004.

  1. Jeff Kish

    Jeff Kish Guest

    Hi.

    Dave (thanks Dave) answered my previous "like" question somewhat, but things
    are as clear as mud, though I am still investigating.

    If I'd like to return all elements using xpath 2.0 that have any attributes
    that have a value containing the string "readonly", how could I go about that?

    I'm still trying to figure it out,

    Thanks


    Jeff Kish
     
    Jeff Kish, Nov 11, 2004
    #1
    1. Advertising

  2. Jeff Kish <> writes:

    > Hi.
    >
    > Dave (thanks Dave) answered my previous "like" question somewhat, but things
    > are as clear as mud, though I am still investigating.
    >
    > If I'd like to return all elements using xpath 2.0 that have any attributes
    > that have a value containing the string "readonly", how could I go about that?
    >
    > I'm still trying to figure it out,
    >
    > Thanks
    >
    >
    > Jeff Kish


    //*[@*[contains(.,'readonly')]]



    David
     
    David Carlisle, Nov 11, 2004
    #2
    1. Advertising

  3. Jeff Kish

    Jeff Kish Guest

    On Thu, 11 Nov 2004 14:19:14 GMT, David Carlisle <> wrote:

    >Jeff Kish <> writes:
    >
    >> Hi.
    >>
    >> Dave (thanks Dave) answered my previous "like" question somewhat, but things
    >> are as clear as mud, though I am still investigating.
    >>
    >> If I'd like to return all elements using xpath 2.0 that have any attributes
    >> that have a value containing the string "readonly", how could I go about that?
    >>
    >> I'm still trying to figure it out,
    >>
    >> Thanks
    >>
    >>
    >> Jeff Kish

    >
    >//*[@*[contains(.,'readonly')]]
    >
    >
    >
    >David

    Thanks so much. (It seems like it is on the tip of my tongue sometimes)
    Jeff Kish
     
    Jeff Kish, Nov 11, 2004
    #3
    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. Seth
    Replies:
    1
    Views:
    1,080
    Ray Andraka
    Aug 1, 2003
  2. DelphiDude
    Replies:
    3
    Views:
    1,169
  3. Eric A. Hall

    weird matching problems

    Eric A. Hall, Jul 24, 2003, in forum: Perl
    Replies:
    0
    Views:
    983
    Eric A. Hall
    Jul 24, 2003
  4. Marc Bissonnette

    Pattern matching : not matching problem

    Marc Bissonnette, Jan 8, 2004, in forum: Perl Misc
    Replies:
    9
    Views:
    238
    Marc Bissonnette
    Jan 13, 2004
  5. Bobby Chamness
    Replies:
    2
    Views:
    234
    Xicheng Jia
    May 3, 2007
Loading...

Share This Page