Matthew Croud wrote:
> The XML looks like:
>
>
> ...
> ...
> ...
> <- new items are added here
>
>
> This is what my code looks like:
>
> $y = $dom -> getElementsByTagName("item");
> $dom -> documentElement -> insertBefore($Xitem,$y);
>
> If trying to pass the top most "item" node to inse
This might help some people struggling with memory leak problems in
DOMPDF. I haven't fixed it but it seems to have reduced the memory leak
considerably.
I have done 2 things:
1.
Added a detruct function to the DOMPDF file in dompdf.cls.php where I
unset everything. I call this each time in my l
dav wrote:
Hi,
I have question about \0 character with DOM :
What to do with the character \0 ? encode this character to obtain :
? or skip the character with str_replace("\0", '',
$cdata) ?
CDATA is raw data and why it doesnt get magically encoded. If you remove
the charac
Thanks to all.
--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Xubuntu 7.04) Linux 2.6.22.1
^ ^ 17:35:01 up 15 days 19:39 1 user load average: 0.03 0.03 0.00
news://news.3home.net news://news.hkpcug.org news://news.new
On Thursday 26 July 2007, Man-wai Chang wrote:
> > Does Web 2.0 or maybe 3.0 offer some new types, say something
> > like a real grid, or maybe a modal child popup?
>
> Java is just a specialized DOM... in my opinion.
Java has absolutely nothing to do with the subject at hand. Java is a
compile
Man-wai Chang wrote:
Does Web 2.0 or maybe 3.0 offer some new types, say something
like a real grid, or maybe a modal child popup?
Java is just a specialized DOM... in my opinion.
Where did you get this weird idea... JAVA by itself has nothing to do
with the web or documents... It's commonly
Does Web 2.0 or maybe 3.0 offer some new types, say something
like a real grid, or maybe a modal child popup?
Java is just a specialized DOM... in my opinion.
--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Xubuntu 7.04)
Mikey wrote:
Hey!
I have been looking through the docs writing test code and am going a
little bit mad trying to work this out.
Does anyone know where I can find a definitive list of DOM XML functions
that are supported in specific versions of PHP?
I write my code in Zend and it has 5.2.0,
Andrew Clarke wrote:
I'm having some problems using PHP5 on Windows 2000 Server, running IIS 5.
When trying to access a document from a "xmldoc()" function the system
responds with the following,
*Fatal error*: Call to undefined function xmldoc() in *"XML Document"* on
line *Number*
**
How do I
Thanks Rob! That solved my probem. Thanks again!
On 11/2/05, Rob <[EMAIL PROTECTED]> wrote:
>
> Ace McKool wrote:
>
> > What I'm trying to create is something like the following:
> >
> >
> >
> >
> > I am unable to create the "" element with the "cac:"
> namespace
> > prefix. Any suggestions wo
Ace McKool wrote:
What I'm trying to create is something like the following:
I am unable to create the "" element with the "cac:" namespace
prefix. Any suggestions would be appreciated!
$dom = new DOMDocument("1.0", "UTF-8");
$root = $dom->createElement('Notes');
$dom->appendChild($
Andrew Kachalo wrote:
Hi!
...
Fatal error: Call to undefined function domxml_open_file() in
/Users/Andrew/Sites/portfolio/index.php on line 61
This is because PHP5 now has an object-oriented approach. You use
DOMDocument's and/or SimpleXML to read your XML files. Also in the
newest vers
Martin Geisler wrote:
I don't remember any more where I found this, but with
formatOutput = true;
?>
you get what you ask for: formatted output.
Excellent, that did the trick!
Thanks,
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] (Dan Phiffer) writes:
> I'm using PHP 5 these days, so I guess I'm looking for some way to
> tell a DomDocument to prettify its save() output.
I don't remember any more where I found this, but with
formatOutput = true;
?>
you get what you ask for: formatted output.
--
Martin
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
>I am planning to use PHP to develop some scripts that will need to
>create and manipulate html pages. One of the things that will be
>created is a DOM tree of the html.
>
>After reading the manual I've found that php supports the event-driven
>and dom xml, but with the latter tagged as EXPERI
I'm assuming it's that stray dollar sign you have in front of domxml_root.
J
Sebastian A. wrote:
> Hello,
>
> I have been recently doing experiments with the DOM XML function and I am
> (not surprisingly) having some problems with it. When I try to run the
> code below, I get an error saying
In <[EMAIL PROTECTED]>, Yasuo Ohgaki wrote:
> Daniele Baroncelli wrote:
>
>> Hello,
>>
>> I would like to restyle one big site in XML and I would like some brief
>> straight info/suggestions.
>>
>> I am definitely interested in DOM XML, but as far as I can understand,
>> the module is still ex
Daniele Baroncelli wrote:
> Hello,
>
> I would like to restyle one big site in XML and I would like some brief
> straight info/suggestions.
>
> I am definitely interested in DOM XML, but as far as I can understand, the
> module is still experimental and there to main risks:
> - The module is no
29 matches
Mail list logo