RE: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?
| From: | Manuel Lemos | Date: | Fri, 17 Mar 2000 18:35:49 +0000 |
| Subject: | RE: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12348@lists.php.net to get a copy of this message | ||
Hello Paul,
On 16-Mar-00 10:38:22, you wrote:
>>>> As I have been saying doing XML-XSL processing to serve
>>>> pages at online
>>>> time is a waste of performance, especially when there are much more
>>>> faster and objective methods. [...]
>>
>>>Sure, it wouldn't be a very fast solution, but there are lots of
>>>advantages that many people still don't see:
>>>Imagine, you want to develop a web-interface for a database, which is
>>>used to store specific XML-documents.
>>>Now: how to transform this into HTML (maybe later to PDF, LaTeX,
>>>whatever).
>>>This transformation is the only "intelligent" aspect of your whole
>>>application: It's not very difficult to develop your own XML-format
>>>for your documents, but it's quite useless without transformation.
>>
>>Maybe you didn't notice what I said, but if you generate XHTML (XML
>>compliant HTML) you don't need to invent another document format and
>>you don't need to transform it to serve as Web pages because it is already
>>HTML.
>You don't need to transform it to serve as Web pages, but what if you
>want to use it to serve for other output formats as well? XHTML may be
The original poster did not mention any interest in anything else than
serving HTML.
>somewhat better than regular HTML for that, but HTML is horrendous and
>it's not clear to me that XHTML really will go very far toward that
>end. It's still basically presentation-based rather than content-based,
>and that doesn't help a lot for generating other output formats.
The greatest advantage of XHTML for me is that I can parse and extract
relevant information from pages with a generic XML parser.
We all know that XHTML is what HTML should have been. But we have to live
with the Web the way it is, not the way we would like it to be. Web users
could not care less about formats as long as they reach the information and
services they want.
If the whole XML/XSL concept is good enough, there shouldn't be a problem
into transforming XHTML into other content/presentation document formats.
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--