summaryrefslogtreecommitdiff
path: root/yxml.c
AgeCommit message (Collapse)Author
2016-09-12Deal with nested elements betterSilvan Jegen
Occasionally there are nested elements in the article-title. Using this check we mostly succeed in dealing with those cases.
2016-09-12Make sure we are printing the right tagSilvan Jegen
We have to check that we are in the title-group tag before getting the tag's contents.
2016-09-08Print the article-titleSilvan Jegen
For some reason the article-title tags get never closed. Instead of checking the name of the closed element name, we just check if we are in the element we are searching for or not. As long as the element whose content we want to print does not have any nested elements itself this approach works as well.
2016-09-08Allocate buffer struct the right waySilvan Jegen
2016-09-08Move parser init out of the parsing loopSilvan Jegen
2016-09-08Implement first version of parsingSilvan Jegen
2016-09-06Add the yxml library test programSilvan Jegen