lundi 29 juin 2015

I/O error when reading XML

I'm reading a XML file and get a i/o error when reading the node <kamerkant/>. I use the following statement for reading the node:

Lclvalue = Sel.Selectnode('//Gordijn[1]/Kamerkant[1]/node()').nodeValue

XML

<Gordijn>
    <StofNaam>Aroma 211004</StofNaam>
    <Kleur>211</Kleur>
    <Gordijnsoort>streepgordijn</Gordijnsoort>
    <Vertrek>Woonkamer voor</Vertrek>
    <Kamerkant/>
    <Hoogte>100.0</Hoogte>
</Gordijn>

Aucun commentaire:

Enregistrer un commentaire