libxml2:Axis

Discussion in 'C++' started by ymonster, Apr 13, 2009.

  1. ymonster

    ymonster Guest

    recently ,i began to use libxml2 for my xml document parser.
    so i have a question:
    can libxml2 support [axis],how can i use [axis] by libxml2

    thanks for your reply
     
    ymonster, Apr 13, 2009
    #1
    1. Advertising

  2. ymonster

    FlyinWater Guest

    On Apr 13, 3:18 pm, ymonster <> wrote:
    > recently ,i began to use libxml2 for my xml document parser.
    > so i have a question:
    >        can libxml2 support [axis],how can i use [axis] by libxml2
    >
    > thanks for your reply


    for example :
    there's a xpath string "/doc/chd/sid"
    I use "xmlXPathEvalExpression" get a xmlNodeSetPtr, how can get
    "current node" from
    xmlNodeSetPtr?
    I mean that i want to use another xpath string "../sid_brother" to
    retrive a different xmlNodeSetPtr
    So ,How to?

    thank you
     
    FlyinWater, Apr 13, 2009
    #2
    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. Joey Vendetta
    Replies:
    0
    Views:
    3,470
    Joey Vendetta
    Apr 1, 2004
  2. Stefan
    Replies:
    0
    Views:
    751
    Stefan
    May 6, 2004
  3. Replies:
    0
    Views:
    955
  4. hocho888
    Replies:
    1
    Views:
    662
  5. ed
    Replies:
    2
    Views:
    438
    Mike Schilling
    Dec 8, 2006
Loading...

Share This Page