Hello,
I am working for a web syte and i would like to interact with some xml datas but i don't know if it's possible. I have something like that:
data.xml
[CODE=xml]
<objcts>
<obj>
<title>1</title>
<name>2</name>
<notice><![CDATA[some data]></notice>
</obj>
<objcts>
[/CODE]
And i need to add new objects and objects' attributes(at the obj level) like the existing one with some forms.
By now i understood that i need one of those:
1) a way to interact with xml in some way(that i dont know)
2) a way to search in my file the first '<ev>' occurrence ,then put inside the new object in the file and finally close it.
I am new to PHP so everything could help!
Regards & thanks,
luke14free
I am working for a web syte and i would like to interact with some xml datas but i don't know if it's possible. I have something like that:
data.xml
[CODE=xml]
<objcts>
<obj>
<title>1</title>
<name>2</name>
<notice><![CDATA[some data]></notice>
</obj>
<objcts>
[/CODE]
And i need to add new objects and objects' attributes(at the obj level) like the existing one with some forms.
By now i understood that i need one of those:
1) a way to interact with xml in some way(that i dont know)
2) a way to search in my file the first '<ev>' occurrence ,then put inside the new object in the file and finally close it.
I am new to PHP so everything could help!
Regards & thanks,
luke14free
Comment