I already wrote a php script that logs into our school note system. But I'm trying to parse the HTML page to xml. But I'm running into some troubles. First of all the html code of the tabel is kinda a mess and I have no clue what to do now. This is the CURL PHP page: http://koetse.eu/test/curl.php.This is the source code of the reply: http://pastebin.com/RDawmsnYI'm trying to change that Messy HTML tabel into a xml file, looking somewhat like: \[code\]<?xml version="1.0" ?> > <notes> <name>Jurre (4HC)</name> <class>kwt</class> <class>netl</class> <note>6.6</note> <note>6.3</note> <note>4.9</note> <se>5.8</se> <class>entl</class> <note>7.5</note> <note>7.3</note> <note>7.7</note> <note>10.0</note> <note>6.6</note> <note>9.6</note> <note>6.7</note> <note>6.7</note> <se>8.6</se> <class>lv</class> <note>7.8</note> <note>4.8</note> <se>6.3</se></notes>\[/code\]ect... (I only did the first 3 rows as an example)Sorry for using pastebin, But I got into a fight with the max length of a post.Regards Jurre