I so hope this response was the result of some translation gone wrong.
If not, you shouldn't really expect anyone to answer your (highly off-
topic) question with that attitude...
On Oct 15, 7:56 pm, kostia wrote:
> Give me the answer and do what you want.
>
> On Oct 15, 8:45 pm, Alex Gaynor wro
Give me the answer and do what you want.
On Oct 15, 8:45 pm, Alex Gaynor wrote:
> On Fri, Oct 15, 2010 at 1:38 PM, kostia wrote:
> > I have xml file:
> >
> >
> > 5
> >
>
> > I want to get the value of n (= 5) inside my python program, I'm
> > doing this:
>
> > import xml.dom.mi
On Fri, Oct 15, 2010 at 1:38 PM, kostia wrote:
> I have xml file:
>
>
> 5
>
>
> I want to get the value of n (= 5) inside my python program, I'm
> doing this:
>
> import xml.dom.minidom
> from xml.dom.minidom import Node
> doc = xml.dom.minidom.parseString("boolean_width.xml")
>
I have xml file:
5
I want to get the value of n (= 5) inside my python program, I'm
doing this:
import xml.dom.minidom
from xml.dom.minidom import Node
doc = xml.dom.minidom.parseString("boolean_width.xml")
n = doc.getElementsByTagName("root")[0].firstChild.nodeValue.strip()
pr