Re: [PHP] Re: DOM XML and php

2004-03-15 Thread Lucian COZMA
way to transform xlm data from variable not open xml file with using DOMXML. tassos -Original Message- From: Lucian COZMA [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:50 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: DOM XML and php True, but it does much more than that.

RE: [PHP] Re: DOM XML and php

2004-03-12 Thread Tassos T
Hi, I agree but I cannot find a way to transform xlm data from variable not open xml file with using DOMXML. tassos -Original Message- From: Lucian COZMA [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:50 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: DOM XML and php True

Re: [PHP] Re: DOM XML and php

2004-03-12 Thread Lucian COZMA
ide functions to create XML docs from the beginning and manipulate xml data like add or remove xml elements. I hope to help you. tassos -Original Message- From: Lucian COZMA [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 5:31 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: DOM XML

RE: [PHP] Re: DOM XML and php

2004-03-12 Thread Tassos T
elements. I hope to help you. tassos -Original Message- From: Lucian COZMA [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 5:31 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: DOM XML and php I have a question please (I'm trying to clarify something for me): Why do you pr

Re: [PHP] Re: DOM XML and php

2004-03-11 Thread Lucian COZMA
CTED]> wrote in message news:[EMAIL PROTECTED] > Thanks I use this code and it works. > > tassos > > > -Original Message- > From: Lucian COZMA [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 11, 2004 4:03 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re

RE: [PHP] Re: DOM XML and php

2004-03-11 Thread Tassos T
Thanks I use this code and it works. tassos -Original Message- From: Lucian COZMA [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 4:03 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: DOM XML and php It should look something like (pretty much extracted from manual): lalala

Re: [PHP] Re: DOM XML and php

2004-03-11 Thread Lucian COZMA
It should look something like (pretty much extracted from manual): lalala $arguments = array( '/_xml' => $xml, '/_xsl' => $xsl ); // Allocate a new XSLT processor $xh = xslt_create(); // Process the document $result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL, $arguments); if ($r

Re: [PHP] Re: DOM XML and php

2004-03-11 Thread Lucian COZMA
If you really want to use Sablotron (although I tried it I not liked it as much as DOMXML, gimme a sign, and I'll debug you. Regards, Lucian COZMA @ InterAKT "Tassos T" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks for your reply but I have another problem > > I have an xm

Re: [PHP] Re: DOM XML and php

2004-03-11 Thread Lucian COZMA
The problem you have is that you do not use DOMXML tranformations, you use Sablotron tranformations (xslt extension). DOMXML and XSLT are 2 different extensions (and you cannot mix each-others' objects, you must use the same objects of DOM or XSLT). You should use DOMXML's functions (are faster, mo

RE: [PHP] Re: DOM XML and php

2004-03-11 Thread Tassos T
Thanks for your reply but I have another problem I have an xml string if I use this code I can see the xml tree but I cannot transform with te xslt. Eg. Please advise Regards tassos -Original Message- From: Lucian COZMA [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 3:2