Page 1 of 1

XML to HTML forms?

Posted: Tue Apr 22, 2003 2:31 pm
by yjanni
How to easily convert XML data into forms and back to XML?

Ok I am doing simple stuff. Web page content editing.
I have my 'no-mySQL or PEAR or anything' webspace provider.
I want flat file. I want structured data. XML & PHP. So I have to use an 'separate' XML parser. But I think this XML parser is sorted out..

The real problems is how to 'transform' the XML data into forms? There are
so many different types of XML-docs that I cannot make separate form for
each, so I'm thinking ok, something that converts the XML data into HMTL
form, which can be then edited, and submitted. Finally the submitted data
needs to be written back into an XML file.

Also - at the moment I have nothing that would write the data back into
XML. Any ideas? Or generally XML parsing/writing recommendations?


Thanks
Jani
:)

Posted: Tue Apr 22, 2003 4:49 pm
by m3mn0n
I found some good help pages here.

Posted: Tue Apr 22, 2003 6:01 pm
by yjanni
thanks... you know I am just lazy and want to annoy you... :D

I've decided I will build my own ultra compact cms-system,
php-xml-xsl-xhtml..

I am going to use ActiveLink PHP XML Package 0.16 for XML, parsing and
editing trees, string out. Do you think this is an good idea?
(http://www.hotscripts.com/Detailed/20918.html)

For XSL transforming I was thinking of using the, surprise, XSLtransformer:
http://www.phpclasses.org/browse.html/package/498.html
Anyone with experience of it or any others like it?

I still havent found the suitable classes for form generating. People seem to
have made it more complicated than it is :D maybe I should just code
my own...