Issue in accepting raw strings from Xml in python

Discussion in 'Python' started by Gaurav Gupta, Oct 20, 2003.

  1. Gaurav Gupta

    Gaurav Gupta Guest

    Hi,

    I am expecting a directory name from an XML, that is like, '\0310_0\FIN_013\fin_gadm\Access\Adb.mdb'.. I am extracting the value as <node>.firstChild.nodeValue. The issue is that in the directory name the backslash is not getting interpreted as literal string. I know that form the prompt it is possible through r'<string>'.. but is it possible to achieve the same through programmatically,

    I would be highly obliged for any help.

    Thanks,
    Gaurav Gupta
    Gaurav Gupta, Oct 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. Bill Janssen
    Replies:
    2
    Views:
    761
    Michael Hudson
    Mar 2, 2004
  2. Jeff Epler
    Replies:
    0
    Views:
    463
    Jeff Epler
    Mar 1, 2004
  3. Bill Janssen
    Replies:
    2
    Views:
    513
    Francis Avila
    Mar 3, 2004
  4. Karen Loughran

    raw Strings from XML attributes

    Karen Loughran, Jun 11, 2004, in forum: Python
    Replies:
    5
    Views:
    421
    Terry Reedy
    Jun 12, 2004
  5. Nagarajan
    Replies:
    4
    Views:
    310
    Nagarajan
    Aug 23, 2007
Loading...

Share This Page