Is there any way to retrieve the comments from an XML file?
I have an XML file, with comments in it, and i have to build an user-interface based on each node in this file, and the associated comments.
I can't seem to find a way to get those comments. I was able to get 'some' of them using simpleXML, but it didn't work for the root node, and was acting pretty strange... some comments wre put in their own node, some other were left as childs, and all comments were put in the same node... Not sure this makes any sense:) the point is simpleXML broke the structure of the comments and it wasn't good for my needs.