hi. im developing a CMS. The template system (for the frontend) is based on xml-predefined-files. I also have a database table which holds the content of each xml's placeholders (placeholders = unique sections of the xml). In the For example, this is the default template: <?xml version="1.0"?> <Template> <PlaceHolder id="page"> <PlaceHolder id="sidebar"> </PlaceHolder> <PlaceHolder id="content"> <PlaceHolder id="header"> </PlaceHolder> <PlaceHolder id="bar"> </PlaceHolder> <PlaceHolder id="titulo"> </PlaceHolder> <PlaceHolder id="data"> </PlaceHolder> </PlaceHolder> <PlaceHolder id="footer"> </PlaceHolder> </PlaceHolder> </Template> Here goes the questions: 1) How do i print the proper xml file by replacing all the PLACEHOLDER tags with DIVs? 2) How do i print, for example, the proper sidebar's content inside the sidebar's placeholder? If there is any help I could get into that, or if someone knows a specific php class that could help me on this issue, it would be great! Bye, Andres -- Slds, Andrés Santos, IIG ***************************** cel: (593) 9 7026627 http://www.egobits.com ***************************** PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/