xml question

Tim Arnold tiarno at sas.com
Mon Aug 16 07:45:53 EDT 2004


"Ajay" <abra9823 at mail.usyd.edu.au> wrote in message
news:mailman.1651.1092488767.5135.python-list at python.org...
> str = whiteSpaces[counter].nodeValue
> string.strip(str)
<snip>
> however this isn't working. when i print out all the elements in the
> document, i still get the whitespace text elements.

shouldn't str.strip() work instead?
--T





More information about the Python-list mailing list