FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Problem with appendChild and ellipsis...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Problem with appendChild and ellipsis... [message #173074 is a reply to message #173071] Sun, 20 March 2011 17:12 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 3/20/2011 1:37 PM, Doug Miller wrote:
> In article<ag4co61ltlt2muitdkoup5uufqomlaegg7(at)4ax(dot)com>, Dennis<nobody(at)nowhere(dot)invalid> wrote:
>> When writing a DOMDocument I have code similar to this...
>>
>> $title = $doc->createElement("title");
>> $item->appendChild($title);
>>
>> $title_data = "Some data followed by an ellipses…";
>>
>> $title_text = $doc->createTextNode($title_data);
>> $title->appendChild($title_text);
>>
>> When I look at the resulting file the<title></title> is there but it is
>> empty. I displayed $title_text->wholeText and the string with the
>> ellipsis is there. So it appears that something in appendChild is
>> gagging on the ellipsis.
>>
>> Any thoughts?
>
> Ask in an appropriate group. This has *nothing* to do with PHP.
>
> Comp.lang.javascript is --------------> over that way.

Ah, Doug, this IS PHP - not javascript.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: PHP Module Writing Help
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 04:08:26 GMT 2024

Total time taken to generate the page: 0.04563 seconds