how to create an html object from an XML document
Hi,
I have an XML document which contain some data. What I want to do with it is to create an object which shows the xml data in a table so that when other people copy and paste the object code to their web page, say myspace,they can see the exact table from the object. I'm looking for something similar to embeding youtube videos.
I googled for that but I even couldn't find what technology I have to use to define my object using PHP. I would be glad if you give me some hints so that I can search more efficient.
My second question was about designing a web page which consists of multiple objects similar to the one I described above. I'm still in design process and each page will contain different data from multiple xml files. For example, suppose that the home page should contain five tables (table1,table2, ... ,table5) with different appearances and data and each table uses data inside an associated xml file. So what I was thinking was to transfer each of those xmls file to html and construct a table and then place the created table into an object.
Designing a page in this way seems to be the easiest way, since you create each part of the page as an object and then embed each object to your page. Moreover, other people also will be enabled to have access to some of the functions in the website. I'm just not sure what is the performance like, by implementing such method.
I would like to mention that I'm not looking for SOAP, since other people need to have SOAP client on their machines if they want to have access to data in my website.
I'm very sorry for long story. This idea of creating objects just came to my mind, and I got really excited about it, but I have no clue what to look for.
Thank,
|