XSL Parsing in PHP
| From: | Ludwig Ruderstaller | Date: | Fri, 01 Sep 2000 12:48:07 +0000 |
| Subject: | XSL Parsing in PHP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31563@lists.php.net to get a copy of this message | ||
Hello,
Mail diskussion with Zeev:
>That sounds like a very good idea. I suggest you raise it on php-dev as
>well, so that you get feedback from others as well, and possibly
>coordinate if someone's already working on it.
>I'm thinking about adding a new feature to the output buffering mechanism
>- which would allow people to register a function that will render the
>output text, instead of sending it as-is. This way, using XSL rendering
>capabilities, you could generate plain XML pages, and PHP will
>transparently render them using an XSL stylesheet. What do you think?
>Zeev
Exactly what i mean. So you have the possibility to create every output you
need.. (html, xml, wml aso) (depending on the XSL)
>On Fri, 1 Sep 2000, Ludwig Ruderstaller wrote:
>> Hi,
>>
>> I am looking for a possibility to parse an XML page into an HTML page by
>> means of an XSL.
>> For this there are the Xalan and Xerces libs from xml.apache. But these
>> premise an XML file.
>> Since the libs are documented, integrating them into php should not be
too
>> difficult.
>
>> Vision: xml2html(int xsl, int xml)
>> where "int xsl" is the file in the file system, and "int xml" is the
>> xml
>> page as variable. (alternatively, both could be a variable)
>>
>> Would this implementation be worth considering? I believe many PHP users
>> would be glad about this feature.
>>
>> With many thanks in advance
>> Ludwig Ruderstaller