Attached is the sample xml file and need to convert to json currently as some of the items have innerhtml as text in their xml its giving parsing error.
8 freelancere byder i gennemsnit $24 timen for dette job
It is better use recursion to solve this problem. recur into the children from start tag and exit from the end tag. It can be done without extract library.