On Thu, 30 May 2002, Timothy J. Luoma wrote:

> 
> Summary: I've been looking for a resource (book, website, etc) that will
> address how to write/store information in XML and deliver it as XHTML
> (using PHP for the processing), but haven't had much luck.

I'm not sure what you want is feasible as automagically as you'd like to i.e. it won't 
be PHP that will do the transformation for you. From my understanding of the XML 
universe, XHTML is an XMLized variant of HTML4.0 i.e. a 'very well shaped' HTML that 
fits the strictness of XML syntax. To get XHTML from an arbitrary XML document you'd 
need to use XSLT which is an XML application (don't misunderstand the term 
'application' here).
Take a look at http://www.php.net/manual/en/ref.xslt.php

good luck,
--thalis


> 
> 
> I know a little bit of PHP (just enough to be dangerous, but also to
> recognize how cool it is) and love the idea of XML.
> 
> The only drawback to XML at this point is that so few browsers can deal
> with it.
> 
> So I'm wondering if there is a way to use PHP to do the transformation.
> I see there are several XML functions in the PHP manual, but nothing
> seemed "on point" from my investigation.
> 
> Thanks for any help.
> 
> TjL
> 
> ps -- I know this is 'php-general' but a lot of the conversation here is
> pretty far over my head.  Is there a 'php-newbie' list?
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to