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.
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
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
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
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
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
ocess($xp, $xml_string, 'myxsl.xsl');
> >echo $result_xsl;
> >xslt_free($xp);
> >
> > ?>
> >
> > Please advise
> >
> > Regards
> >
> > tassos
> >
> > -Original Message-
> > From: Lucian COZMA [mai
_string, 'myxsl.xsl');
>echo $result_xsl;
>xslt_free($xp);
>
> ?>
>
> Please advise
>
> Regards
>
> tassos
>
> -Original Message-
> From: Lucian COZMA [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 11, 2004 3:20 PM
> To: [E
t;$result_xsl = xslt_process($xp, $xml_string, 'myxsl.xsl');
>echo $result_xsl;
>xslt_free($xp);
>
> ?>
>
> Please advise
>
> Regards
>
> tassos
>
> -----Original Message-
> From: Lucian COZMA [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March
:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: DOM XML and php
blabalabalab';
if(!$dom = domxml_open_mem($xmlstr)) {
echo "Error while parsing the document\n";
exit;
}
// The root domdocument node
$root = $dom->document_element();
///Dump the content back to string
var_d
blabalabalab';
if(!$dom = domxml_open_mem($xmlstr)) {
echo "Error while parsing the document\n";
exit;
}
// The root domdocument node
$root = $dom->document_element();
///Dump the content back to string
var_dump($dom->dump_mem());
?>
Read the manual in the DOM XML functions section.
Regards,
L
11 matches
Mail list logo