The purpose of mysql-xml is centainly to store an xml-tree in a mysql database. As there is absolutely no documentation with this project it is qute difficult to figure out how it works.
The three inc-files attribute.inc, document.inc and element.inc serve to handle the coresponding XML-elements.
With classgen.php you create php source-code which is tailored to your xml-document. You use the result of clasgen to store the xml-document in the mysql-database.
Unfortunately the generated sql-strings (elements.inc) cause errors, so that it is not possible, to store the xml-document.
Further it is not obvious, how the MySql-Tables documents, elements, attributes and parentchild are related to each other.
If there is somebody else interested in this topic it would be great to have a response.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The purpose of mysql-xml is centainly to store an xml-tree in a mysql database. As there is absolutely no documentation with this project it is qute difficult to figure out how it works.
The three inc-files attribute.inc, document.inc and element.inc serve to handle the coresponding XML-elements.
With classgen.php you create php source-code which is tailored to your xml-document. You use the result of clasgen to store the xml-document in the mysql-database.
Unfortunately the generated sql-strings (elements.inc) cause errors, so that it is not possible, to store the xml-document.
Further it is not obvious, how the MySql-Tables documents, elements, attributes and parentchild are related to each other.
If there is somebody else interested in this topic it would be great to have a response.
Do you know if exist a way to extend mysql with the SQL/XML operator (e.g. XMLELEMENT, XMLGEN, XMLCONCAT, XMLFOREST, XMLAGG)?