Using XML_Query2XML to generate XHTML
| From: | Patrick Pfeiffer | Date: | Mon, 08 Dec 2008 01:48:16 +0000 |
| Subject: | Using XML_Query2XML to generate XHTML | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29488@lists.php.net to get a copy of this message | ||
Hello!
I wonder if its a good idea to use XML_Query2XML to generate XHTML
directly without the intermediate step of transforming the resulting
XML into XHTML with XSLT.
Lukas has mentioned, that XSLT is not needed. On [1] for example there
is an example of using XML_Query2XML to generate XML. After that XSLT
is used to transform the XML into XHTML. Isnt it "better" to create
the XHTML directly, regarding performance and such things?
[1] http://www.ibm.com/developerworks/library/x-query2xml/
--
patrick