Hello,
I'm having trouble parsing a xml file correctly.
I know the code for parsing a xml file like this one below:
<Books>
<book id="1">
<title>Naam</title>
<author>Auteur</author>
<summary>Samenvatting</summary>
</book>
</books>
But my question is how can i parse a xml like this one:
<Books>
<book id="1">
<title ="Naam"/>
<author ="Auteur"/>
<summary ="Samenvatting"/>
</book>
</books>
Hope someone can help me with this.
thanks in advance..
I'm having trouble parsing a xml file correctly.
I know the code for parsing a xml file like this one below:
<Books>
<book id="1">
<title>Naam</title>
<author>Auteur</author>
<summary>Samenvatting</summary>
</book>
</books>
But my question is how can i parse a xml like this one:
<Books>
<book id="1">
<title ="Naam"/>
<author ="Auteur"/>
<summary ="Samenvatting"/>
</book>
</books>
Hope someone can help me with this.
thanks in advance..