Issue in accepting raw strings from Xml in python

Gaurav Gupta gaurav.gupta at teleatlas.com
Mon Oct 20 04:30:52 EDT 2003


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20031020/19f5e102/attachment.html>


More information about the Python-list mailing list