Simple XPath query

Discussion in 'ASP .Net' started by raheel, Nov 4, 2003.

  1. raheel

    raheel Guest

    Hi,
    I have an xml file like this:
    <posts>
    <post>
    <date>
    <body>
    ......

    I want to select using an XPath expression all posts (post
    elements) which have the date starting with say '10' (for
    october). I have tried using substring but I can not find
    the right expression!

    Any help?
    Thanks a lot!
    raheel, Nov 4, 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. Marvin_123456

    "Memory leak" in javax.xml.xpath.XPath

    Marvin_123456, Jul 29, 2005, in forum: Java
    Replies:
    4
    Views:
    1,942
    jan V
    Jul 29, 2005
  2. Alastair Cameron
    Replies:
    1
    Views:
    7,359
    SQL Server Development Team [MSFT]
    Jul 8, 2003
  3. Victor
    Replies:
    1
    Views:
    345
    Philippe Poulard
    Feb 18, 2004
  4. R

    simple XPath query

    R, Feb 18, 2005, in forum: XML
    Replies:
    2
    Views:
    429
    David Carlisle
    Feb 19, 2005
  5. David Gordon

    xpath query query

    David Gordon, May 18, 2005, in forum: XML
    Replies:
    2
    Views:
    770
    David Gordon
    May 18, 2005
Loading...

Share This Page