Re: [PHP] PHP5 XSLT how to.

2003-12-05 Thread Anas Mughal
http://trash.chregu.tv/phpconf2003/examples/ Hope it helps... -- Anas Mughal William Bailey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello again. I am currently testing the php5 beta and really like the new DOM objects but i am haveing trouble finding out how i can apply a XSLT

Re: [PHP] PHP5 XSLT how to.

2003-12-05 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok Just incase anybody else would like to know how to do it i found that the following works: PHP Code $dom = new DomDocument(); $aboutNode = $dom->appendChild($dom->createElement('about')); $aboutNode->setAttribute('name', 'My Application'); $ver

Re: [PHP] PHP5 XSLT how to.

2003-12-05 Thread Marek Kilimajer
XML support has been completely redone in PHP 5, all extensions are now focused around the excellent libxml2 library (http://www.xmlsoft.org/). Try libxml2 documentation. William Bailey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello again. I am currently testing the php5 beta

[PHP] PHP5 XSLT how to.

2003-12-05 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello again. I am currently testing the php5 beta and really like the new DOM objects but i am haveing trouble finding out how i can apply a XSLT template to a DOM document. Does anybody know how i can do this? I have tried looking at the DOM d