Sign In/My Account | View Cart  
advertisement

Article:
 Using libxml in Python
Subject: Doesn't work if first line is comment.
Date: 2009-12-22 17:56:07
From: Johncc

Hi, Uche,


Tried your code, and, of course, the first file I tried to parse didn't work - it had a comment before the main (root) section of the XML code.


So, it's probably necessary to add a while to skip comments!


John


Previous Message Previous Message   Next Message No Next Message


Sponsored By: