No description
Find a file
dr.doom 9deefd45b1 Changes acordens to what was asked (resubmishon)
comment form teacher for fix :

Commit historik ser relativt bra ut. Programkoden följer kursens upplägg till största delen. Programkoden visar dock inte upp datan helt korrekt. Du behöver göra följande kompletteringar:

Gör en ny commit för respektive av dina kompletteringar.

1. Funktionen för headings och artiklar beter sig underligt. Programkoden är komplex och svår att förstå exakt hur flödet fungerar. I våra exempel gör vi en foreach childnodes som vi tittar om den noden är en heading eller story och så gör vi en ytterligare foreach om story. Detta upplägget är mer komplext och fungerar inte fullt ut. Det skall genereras en div per story och sedan en p tag för respektive textelement i story. Just nu får vi bara ett p element för samtliga textstycken och div elementet verkar saknas helt.

- Henrik Gustavsson

changes done
- Added comments for clarity
- Fixed the forEach for the child nodes
- Fixed the div / p tags
- minor fix with </style> placement
2026-05-06 19:50:09 +02:00
formself.php Changes acordens to what was asked (resubmishon) 2026-05-06 19:50:09 +02:00
LICENSE initial commit 2026-04-07 11:47:41 +02:00
Readme.org initial commit 2026-04-07 11:47:41 +02:00

XML-API-Assignment-2-DOM Startup

Startup code for the DOM component of Assignment 2 for the XML API course.

To start development of the DOM part of Assignment 2, fork this repository by clicking the fork button at the upper right corner of the screen.

Then proceed to develop in the normal fashion by cloning the forked repository.