The standard way is XSLT, for which PHP has excellent support. However, it takes some effort to learn the language. Get yourself "XSLT" by Michael Kay, Wrox Press. HTH Ignatius _________________________ ----- Original Message ----- From: "stefan bogdan" <sbogdan@xxxxxx> To: <php-db@xxxxxxxxxxxxx> Sent: Wednesday, November 26, 2003 08:32 Subject: php / xml hello i'm trying to make a pattern for an economic document using xml ex <document id='unique' name='document_1'> <fixpart> <field id= 'id' visible='true' name='id' type='numeric' htmltype='textbox'> </field> <filed id='name' visible='true' name='name' type='select' htmltype='select' sql='select 1,2 from table' value='1'>2 </field> ........ </fixpart> <mobilepart> .......... </mobilepart> i need a class that work with this kind of document fast an that can transform it quickly in html ps: do you think it is a good aproach thank you sbogdan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php